No, you should let the user decide to run you when they want.

On Thu, Feb 12, 2009 at 10:43 AM, Peter Jeffe <[email protected]> wrote:

>
> I'd like my app to be run immediately after being installed (it has a
> service that ideally would run before the user runs the app).  In
>
> http://groups.google.com/group/android-developers/browse_thread/thread/697e7e7cc6dd3d1f/fdcf520cce83cf0b?lnk=gst&q=%22PACKAGE_ADDED%22#fdcf520cce83cf0b
> it was stated that an app can register for
> android.intent.action.PACKAGE_ADDED and it will get it after that app
> is installed, but this doesn't work for me.  I do receive the
> broadcast if another app is installed after I'm installed, but I don't
> get one for my installation.
>
> Is there something I can do to make this work as desired?  Or, better
> yet, is there a supported way to say "run me after installation"?
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to