android adb command usage


Set system screen off 

  • Set system screen off as neveradb shell settings put system screen_off_timeout -1
  • Set system screen off as 15 secondsadb shell settings put system screen_off_timeout -1 | 15000
Referencehttp://developer.android.com/reference/android/provider/Settings.System.html#SCREEN_OFF_TIMEOUT

Start music player


  • Open google play musicadb shell am start -n  com.google.android.music/com.android.music.activitymanagement.TopLevelActivity

Set system screen brightness


  • Set screen backlight as 200
    adb shell settings put system screen_brightness 200

Comments

Post a Comment

Popular posts from this blog

How to write data into a excel file using vbscript

Format date as yyyy-mm-dd using vbscript