Hi, I'd like to add a Broadcast Action to my Intent Filter that listens for when my application is successfully updated (replaced).
android.intent.action.PACKAGE_REPLACED is described as "Broadcast Action: A new version of an application package has been installed, replacing an existing version that was previously installed. The data contains the name of the package." * A Google search for "PACKAGE_REPLACED" leads only to the reference page. Anyone know how would I go about this? <receiver android:name=".UpdateReceiver"> <intent-filter> <action android:name="android.intent.action.PACKAGE_REPLACED" /> <data android:?="com.mypackage.name" /> </intent-filter> </receiver> I'm not sure what data specification or path I should be using, or if this is correct at all. Any help is greatly appreciated! * source = http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REPLACED Thanks in advance, Paul --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---