Hi all,

I know ACTION_PACKAGE_ADDED is sent for a newly installed package and
ACTION_PACKAGE_REMOVED for an uninstalled one.  However, I'm trying to
figure out which broadcast Intents to expect when a package is
upgraded (as in from the Market).

When replacing an already installed package with a new version from
Eclipse during development I get ADDED followed by REMOVED.  Is that
the case though when user upgrades from Android Market?  Reading
Intent docs I see ACTION_PACKAGE_REPLACED which looks like a good
candidate, but REMOVED and FULLY_REMOVED documentation seems to
suggest one should check EXTRA_REPLACING and (or?) EXTRA_DATA_REMOVED
to figure it out.

I'm asking here as I don't currently have a way of testing this and
googling gives me nothing remotely on-topic this time around.

Thanks in advance!

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