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 <[email protected]> wrote: > 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 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 -- 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

