[android-developers] How can I open my app with power button?

2012-06-27 Thread Andrea Fasciglione
It should be not clear, but how can i open my app with power button? I would add this option so in case of emergency a person can press (for example) three times the power button and my app opens. How can i do this? [I hope it was clear...] -- You received this message because you are subscribed

Re: [android-developers] How can I open my app with power button?

2012-06-27 Thread Fred Niggle
The best way to achieve this would be making your app start at boot. Without modifying the firmware of users phone's there would be no way to having the power button do anything else aside from power the device up. I hope that if i have missed something here then other will pitch in and correct

Re: [android-developers] How can I open my app with power button?

2012-06-27 Thread Kristopher Micinski
You cannot do this under the current API, as there is no way to catch the power button. (Or home button, or ..., etc...) kris On Mon, Jun 25, 2012 at 1:36 PM, Andrea Fasciglione andreafa...@gmail.com wrote: It should be not clear, but how can i open my app with power button? I would add this