[android-developers] Re: how to set a shortcut key to launch an activity ?
Hello shapnil, how are you? I am facing a problem to lunch an activity when the shortcut key is pressed like open a number pad press *123 will fire my application. any idea? thanks in Advance. On Wednesday, October 21, 2009 11:13:14 AM UTC+6, swapnil wrote: > > 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 RamaHare Rama Rama RamaHare 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[android-developers] Re: how to set a shortcut key to launch an activity ?
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 wrote: > This may need to add a service to listen to these key press event and > trigger an app. > > 2009/10/21 swapnil kamble > > 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 RamaHare Rama Rama RamaHare 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 -~--~~~~--~~--~--~---
[android-developers] Re: how to set a shortcut key to launch an activity ?
This may need to add a service to listen to these key press event and trigger an app. 2009/10/21 swapnil kamble > 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 RamaHare Rama Rama RamaHare 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 -~--~~~~--~~--~--~---