Posts

Showing posts from March, 2016

android adb command usage

Set system screen off  Set system screen off as never adb shell settings put system screen_off_timeout -1 Set system screen off as 15 seconds adb shell settings put system screen_off_timeout -1 | 15000 Reference :  http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_OFF_TIMEOUT Start music player Open google play music adb shell am start -n  com.google.android.music/com.android.music.activitymanagement.TopLevelActivity Reference : http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_BRIGHTNESS Set system screen brightness Set screen backlight as 200 adb shell settings put system screen_brightness 200 Reference : http://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_BRIGHTNESS