Created
May 1, 2012 18:54
-
-
Save NewProggie/2570477 to your computer and use it in GitHub Desktop.
adb shell commands for putting device in car mode / dock mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 0 // normal mode | |
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 1 // dock mode | |
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 2 // car mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you quarry if it's active or not?