Use button to pause/play while the screen is locked

Put your problem here if it does not fit any of the other categories.

Use button to pause/play while the screen is locked

Postby skyhigh » Sat Dec 19, 2009 4:25 am

I am trying to find a way to check if one of the buttons is pressed while the Android screen is locked. I would like to be able to pause and resume audio playback when a button is pressed without making the user unlock the screen.

Does anyone know how to detect if a button is pressed while the Android screen is locked?
skyhigh
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Dec 19, 2009 3:36 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 13 guests