Hey there, this is kind of a wide question that I'll break down for
you. In general I'm wondering if its is possible, if so then how, to
bind/listen to a hardware-button to my application.
* Is it possible to make a hardware-button start my app on shot/
long press?
* Is it possible to start/trigger my widget on a longpress of a
hardware-button?
* Is it possible to (when i have the app in the background) make a
hardwarebutton triger this app to the foreground/activate it?
* Is it possible to let a servive listen to long-press of a
button?
* The camera activity on some phones has a camerabutton, can this
button be programed to work with my app?
What I want to do is that upon a longrpress (hold valume up/home-
button for more than 3 seconds) start/execute a activity in my
application like the camera-application and its camerabutton.
Im searching for any and all information about this right now as I
cant find any real answer ;(
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en