Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/drupal/includes/common.inc).

#android #dev #adb

How to pass extra values to activity from shell

This command is very useful when you need to start an activity from shell environment that needs to receive args (extras in the intent).

Cmd:
adb shell am start -e extraName extraValue -n packageName/.activityName {activity flags}

Example:
adb shell am start -e Language PT -n pt.fraunhofer.util.changelanguage/.ActivityChangeLanguage --activity-clear-top

Subscribe to RSS - #android #dev #adb