What about "function keys"? Is it possible to tie together a set of function keys (if they exist) to a service or an activity that is in the background?
On Tue, May 5, 2009 at 6:19 PM, Mark Murphy <[email protected]> wrote: > > Taísa Cristina wrote: >> In fact I do need to handle key strokes. > > Find another UI pattern. > >> It would be easier if I could >> handle home key, so that I could prevent the user from going to home >> screen. > > Find another UI pattern. "Prevent the user from going to home screen" is > fairly evil and is a tactic I would expect to find from malware. > >> And it would be very boring for the user to go back to >> the Activity whenever he wanted to press a key and make stuff... > > Find another UI pattern. > >> Is there a way to register for receiving key strokes if my application >> is compiled with the emulator/device image? (should I ask it on >> android-platform?) > > A list on http://source.android.com/discuss is a better place for > questions about modifying firmware. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android App Developer Books: http://commonsware.com/books.html > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

