On Wed, Mar 2, 2011 at 10:51 PM, Justin Anderson <[email protected]>wrote:

> *> How can a package determine that it has been updated and that it,
> > therefore, must stop and restart itself?*
>
> According to this, you can't:
> http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED


Try this one:
http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REPLACED
<http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_REPLACED>
-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

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