mafro wrote: > I'm thinking I might need to write a service to handle my shortcut's > Intent. The main application could then raise a similar Intent to the > service to provide the same functionality whilst in the application.
I do not know if you can create home screen shortcuts that send broadcast Intents. If you can, then register a BroadcastReceiver in your manifest to catch some custom action, and set up your shortcut to send a broadcast Intent with that action. If what you need to do takes only a few seconds, you can do the work within the BroadcastReceiver; otherwise, have the receiver call startService() to trigger some IntentService to do the real work. This seems terribly complex, compared to just giving the user a real activity to work with, but, hey, it's your app... :-) -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---