Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- JavaScript
- release unsigned
- Android Apk
- android error
- Kotlin
- tomcat
- release Apk
- Android Apk 이름
- html
- Android Apk 이름 변경
- Exception
- apache gzip
- DataTable
- Program type already present
- 안드로이드
- error
- css
- Java
- Firebase
- android fragment
- fragment
- FLUTTER
- spring
- Eclipse
- R프로그래밍
- CSS사용법
- Android
- MySQL
- java error
- jQuery
Archives
- Today
- Total
selfstarter
Android adb command 본문
Android adb command
- adb devices : 연결되어있는 디바이스 목록 보기
- adb -s 1e6ad0(디바이스id) shell am broadcast -a com.test.broadcast.ACTION_RESULT -a --es re hello
- broadcast로 해당 app에 intent 전달하는 adb 명령어
- --ez는 boolean, String은 --es(아래 참고)
adb -s 0a1ab9d4f21e6ad0 shell am broadcast -a com.kscc.taxi.appmeter.ACTION_RESULT_OF_EXECUTE --es res finishMain
[-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>]
'App > Android' 카테고리의 다른 글
Android Error NotFoundException String resource ID (0) | 2020.05.06 |
---|---|
Kotlin 사용법(Kotlin Summary with kotlin tutorial) (0) | 2020.04.04 |
Android apk install (0) | 2020.04.01 |
Setting String format in Android (0) | 2020.04.01 |
Internal error in Firestore (0.6.6-dev) (0) | 2020.04.01 |
Comments