[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread havexz
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,

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread JP
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

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread Dan Pou
As a side note, the SQLite db seems to be a frequent source of install problems for apps. Often developers change the layout and require the user to uninstall and re-install apps. On Tue, Apr 21, 2009 at 7:11 PM, JP joachim.pfeif...@gmail.com wrote: An uninstall/install cycle will wipe the

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread Marco Nelissen
Which is really a bug in the application. If an application updates its database schema, it should include code to migrate old versions of the database to the new schema. On Tue, Apr 21, 2009 at 5:26 PM, Dan Pou daniel@gmail.com wrote: As a side note, the SQLite db seems to be a frequent

[android-developers] Re: uninstall vs. upgrade

2009-04-21 Thread JP
On Apr 21, 5:29 pm, Marco Nelissen marc...@android.com wrote: Which is really a bug in the application. If an application updates its database schema, it should include code to migrate old versions of the database to the new schema. Correct, and OP is on the right track to ask the question