Hi, Thanks for your replies. I tried writing a service, overriden onKeyDown(). But it could not get that message. Do I need to modify Home Activity's code ? Or is there any other way too ?
Thanks in advance Swapnil On Wed, Oct 21, 2009 at 10:56 PM, Forest Wang <wangme...@gmail.com> wrote: > This may need to add a service to listen to these key press event and > trigger an app. > > 2009/10/21 swapnil kamble <swap.kam...@gmail.com> > > Hello, >> how to set a shortcut key to launch an activity ? Lets say I have an >> app "TestApp". I want to set a shortcut key (e.g alt + T ) to launch >> activity of TestApp. Is there any way to set such shortcuts to android apps >> ? >> >> Thanks in advance. >> >> -- >> ...Swapnil >> >> || Hare Krishna Hare Krishna Krishna Krishna Hare Hare || >> || Hare Rama Hare Rama Rama Rama Hare Hare || >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---