we have discovered something very strange that we're seeing with
android 1.5 phones (hero and eris in particular).

it seems like if you install an older version of an app over a newer
version of the same app, after you reboot your phone, if you launch
the app, you will get the newer version of the app!

once you are in this state, uninstalling and rebooting, and
reinstalling different versions of the app will be fine until you
reboot your phone.  once you reboot your phone, launching the app will
revert to the newer version of the app.

here's an example --

Start from a clean state --
install TestApp, version 1.0.2
launch TestApp, says version 1.0.2
install TestApp, version 1.0.1
launch TestApp, says version 1.0.1
reboot phone --
launch TestApp, says version 1.0.2!!!
uninstall TestApp
reboot phone --
install TestApp, version 1.0.3
reboot phone --
launch TestApp, says version 1.0.2!!!

This problem does not exist in 1.6 and above because it seems like you
can't install an older version over a newer version.  Android will
force you to uninstall the newer version first.

As long as you're only updating to newer versions of your app,
everything seems to be okay, it's only when you go backwards that you
get into a very bad state.

The only way it seems to reset this state is to reset your phone back
to factory defaults -- which wipes your phone in a profound way.

Is this a known issue?  Any way to get around this?  Could I be doing
something in my installation/AndroidManifest.xml that is causing this?

Any help appreciated.

tia.

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