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