Monday, November 21, 2016

Android send broadcast from adb command line with extras to a specific Receiver

Android documentation is super ridicules...

Here is what I could compose of multiple stackoverflow answers.

adb shell am broadcast -n ${packageName}/${BroadcastClass FQN} --es ${key} "%{value}"

No comments:

Post a Comment