Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:android_tips [2013/01/31 18:50] admin |
notes:android_tips [2013/11/04 21:29] (current) admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Android tips ====== | ====== Android tips ====== | ||
| + | ===== HowTo take a screenshot on Android device ===== | ||
| + | On Ice Cream Sandwich (4.0) or above, press the Volume Down and Power buttons at the same time and hold them for a second. | ||
| ===== Deploying Android SDK on Ubuntu (32bit) ===== | ===== Deploying Android SDK on Ubuntu (32bit) ===== | ||
| * Download ADT Bundle from **http://dl.google.com/android/adt/adt-bundle-linux-x86.zip** | * Download ADT Bundle from **http://dl.google.com/android/adt/adt-bundle-linux-x86.zip** | ||
| Line 35: | Line 37: | ||
| </code> | </code> | ||
| ===== Debugging ===== | ===== Debugging ===== | ||
| - | * display log | + | * display whole log |
| <code> | <code> | ||
| $ adb logcat | $ adb logcat | ||
| + | </code> | ||
| + | * filter out irrelevant messages | ||
| + | <code> | ||
| + | $ adb logcat -s ObdLogger:* | ||
| </code> | </code> | ||
| ===== Devices ===== | ===== Devices ===== | ||
| Line 51: | Line 57: | ||
| * Enable logging: **ProjectMenu -> Background setting -> Log setting -> Log switch -> LOG on** | * Enable logging: **ProjectMenu -> Background setting -> Log setting -> Log switch -> LOG on** | ||
| * Set desired log level: **ProjectMenu -> Background setting -> Log setting -> Log level setting** | * Set desired log level: **ProjectMenu -> Background setting -> Log setting -> Log level setting** | ||
| + | * Reboot device | ||
