Re: [android-developers] Re: Capture key events while in background

2009-12-04 Thread Mark Murphy
> Is there a list of these buttons somewhere? The "media button" (on headsets) and the camera button are the only two that send a broadcast Intent, according to the documentation on the Intent class. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commo

[android-developers] Re: Capture key events while in background

2009-12-04 Thread mr_dude
Is there a list of these buttons somewhere? On Dec 2, 9:46 am, Dianne Hackborn wrote: > Only a small set of buttons can be handled in the background via the > broadcasts you found.  There is deliberately no facility for applications to > see any arbitrary input when they are not directly interact

[android-developers] Re: Capture key events while in background

2009-12-04 Thread pedramz
Thanks for the info everyone! So basically I could detect Media and Camera button presses but not the releases and I would be able to detect if the user is holding the button. Would I be able to detect Camera and Media button presses if the key lock is on? Or maybe that depends on the phone manuf