swapnil kamble 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 ?

In your own application, you can create "shortcut keys" by overriding
onKeyDown() and doing what you want.

Outside of your application, the other applications would need to
support shortcut keys. This includes the home screen application -- I do
not believe the stock home screen supports shortcut keys, but perhaps a
third-party home screen (e.g., aHome) does.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to