Created
March 12, 2020 09:37
-
-
Save letroll/1de20265ba2ce13685d35472638ec804 to your computer and use it in GitHub Desktop.
[Android ADB Broadcast] send broadcast from adb #adb #android #broadcast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell am broadcast -a com.whereismywifeserver.intent.TEST | |
[-e|--es <EXTRA_KEY> <EXTRA_STRING_VALUE> ...] | |
[--esn <EXTRA_KEY> ...] | |
[--ez <EXTRA_KEY> <EXTRA_BOOLEAN_VALUE> ...] | |
[--ei <EXTRA_KEY> <EXTRA_INT_VALUE> ...] | |
[--el <EXTRA_KEY> <EXTRA_LONG_VALUE> ...] | |
[--ef <EXTRA_KEY> <EXTRA_FLOAT_VALUE> ...] | |
[--eu <EXTRA_KEY> <EXTRA_URI_VALUE> ...] | |
[--ecn <EXTRA_KEY> <EXTRA_COMPONENT_NAME_VALUE>] | |
[--eia <EXTRA_KEY> <EXTRA_INT_VALUE>[,<EXTRA_INT_VALUE...]] | |
(mutiple extras passed as Integer[]) | |
[--eial <EXTRA_KEY> <EXTRA_INT_VALUE>[,<EXTRA_INT_VALUE...]] | |
(mutiple extras passed as List<Integer>) | |
[--ela <EXTRA_KEY> <EXTRA_LONG_VALUE>[,<EXTRA_LONG_VALUE...]] | |
(mutiple extras passed as Long[]) | |
[--elal <EXTRA_KEY> <EXTRA_LONG_VALUE>[,<EXTRA_LONG_VALUE...]] | |
(mutiple extras passed as List<Long>) | |
[--efa <EXTRA_KEY> <EXTRA_FLOAT_VALUE>[,<EXTRA_FLOAT_VALUE...]] | |
(mutiple extras passed as Float[]) | |
[--efal <EXTRA_KEY> <EXTRA_FLOAT_VALUE>[,<EXTRA_FLOAT_VALUE...]] | |
(mutiple extras passed as List<Float>) | |
[--esa <EXTRA_KEY> <EXTRA_STRING_VALUE>[,<EXTRA_STRING_VALUE...]] | |
(mutiple extras passed as String[]; to embed a comma into a string, | |
escape it using "\,") | |
[--esal <EXTRA_KEY> <EXTRA_STRING_VALUE>[,<EXTRA_STRING_VALUE...]] | |
(mutiple extras passed as List<String>; to embed a comma into a string, | |
escape it using "\,") | |
[-f <FLAG>] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment