반응형
[android] Useful ADB commands |
# Start an activity
adb shell am start <packageName>/<fullyQualifiedActivityName>
# Power Button
adb shell input keyevent 26
# Menu Button
adb shell input keyevent 82
# Print all installed packages
adb shell pm list packages [-f] // -f 옵션이 있으면 apk 위치까지 함께 표시된다.
# Logcat filter by tagname
adb logcat -s TAG_NAME_1 TAG_NAME_2
# Logcat filter by priority
adb logcat "*:E"
# Logcat filter by tagname and priority
adb logcat -s TAG_NAME_1:PRIORITY TAG_NAME_2:PRIORITY
# Clean Logcat buffer
adb logcat -c
반응형
'프로그래밍 놀이터 > 안드로이드, Java' 카테고리의 다른 글
[android] intent data filter - android:ssp xml attribute. (0) | 2015.12.16 |
---|---|
[android] Activity Configuration Change Simulation. (0) | 2015.12.14 |
[Android] App Performance Tuning Video (0) | 2015.12.11 |
[android] VideoView 를 사용하는 경우 progress hide timing. (0) | 2015.12.10 |
[android] 강추 Graph open source library (0) | 2015.12.09 |
댓글