Raghu D K wrote: > Hello All, > > How do I map the keys to perform specific functions depending on the > application ? > For example: > > Key 108 DPOD_UP // For scrolling up in a Browser application > Key 108 VOLUME_UP // For Volume increase in the a Multimetia application
Implement onKeyDown() or similar methods in your activities. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---