Advertisement
metalx1000

Android Media/Music Controls

Feb 10th, 2016
651
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.47 KB | None | 0 0
  1. #Android adb shell music/media controls
  2. #turn on screen
  3. input keyevent KEYCODE_POWER
  4.  
  5. #list all packages
  6. pm list packages
  7.  
  8. #start apollo mplayer
  9. am start the.joeapollo
  10.  
  11. #use media command to control media
  12. #'media' for help; example:
  13. media dispatch next
  14.  
  15. #"list-sessions" and "monitor" my need root
  16. media list-sessions
  17.  
  18. #interactive
  19. media monitor MediaSessionHelper-the.joeapollo
  20.  
  21. #kill app (should not need root if done with 'am')
  22. am force-stop the.joeapollo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement