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.

Comments anyone?


On Jun 9, 11:34 am, mafro <mafro...@gmail.com> wrote:
> Hey list,
>
> I've searched for a few hours for a solution to this, so hopefully
> this isn't a repost :s
>
> I'm setting a shortcut on the Home screen which raises an Intent to my
> application - the problem is that I don't want to show my app, just
> run a little code and display a Toast notification.
>
> This must be possible - I just can't work out how.. Once I'm handling
> the shortcut Intent in onCreate() the UI has initialised and I get a
> little screen flicker if I then run my code and finish().
>
> Thanks for any input!
> mafro
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to