On Wed, Feb 23, 2011 at 2:16 AM, george.liu <[email protected]> wrote: > I want launch my app when i push a physics button. it like whether > in any app windows when push volume up button , phone show a volume > up dialog. Is there anyone here who can help me?
That is not possible, sorry. A couple of the buttons (camera and media) will broadcast an Intent if the foreground activity does not consume the key, but that's it. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android App Developer Books: http://commonsware.com/books -- 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

