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/
  • Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /var/www/drupal/includes/

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).

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

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