An uninstall/install cycle will wipe the SQLite db and the
preferences. The only (reasonable) way to keep user data is through an
upgrade. You can test an upgrade by posting the new version (new apk
file) on a web site of yours and install it as a non-market app
through Android's browser. Once the download begins, the process of
installing the app converges.
Posting on a web site needs the following MIME setting there:
application/vnd.android.package-archive





On Apr 21, 4:28 pm, havexz <[email protected]> wrote:
> Hi
>
> Well i dont know is there a way of testing the upgrade without putting
> it on the market, but I can clarify few of the issues. The database
> wont be delete when the market is upgrading. It keeps the user data
> intact only the application binary is deleted and new installed.
>
> On Apr 21, 4:52 pm, "[email protected]" <[email protected]> wrote:
>
> > I have an application which stores data in preference (to save initial
> > settings) and sqllite database. So, if uninstall the application
> > (through market), will the preference and database be deleted? how
> > about upgrade? Is there a way for me to test this before I upload my
> > upgrade to the market? I don't want people report that they have to re-
> > setup everything and the data in sqllite Database is missing.
--~--~---------~--~----~------------~-------~--~----~
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