Upon further reading, this approach is impossible and is by design.  I will
find a work around.

On Wed, Dec 17, 2008 at 11:22 AM, devile...@gmail.com
<devile...@gmail.com>wrote:

>
> I need a service to begin the moment my application is installed.  Is
> this possible?
>
> My current approach is to create a BroadcastService which receives the
> PACKAGE_ADDED action. However, this only seems to work after my
> application is installed, not when my application is installed.
>
> <receiver android:name=".broadcast.InstallBroadcastReceiver">
> <intent-filter>
>        <action android:name="android.intent.action.PACKAGE_ADDED"></action>
>        <data android:scheme="package"/>
> </intent-filter>
> </receiver>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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