preserves the existing SharedPreferences and database.
If you want the updated app to upgrade the existing database, check
out the "onUpgrade" method in SQLiteOpenHelper.
http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html
On Oct 26, 1:01 pm, F Thomas <weighttraincent...@gmail.com> wrote:
> If I publish an update to my app on the Android Market, will the app
> only "patch" (or only update changes to current application) or will
> it just replace the old application with the updated one?
>
> The reason is because for my app I need the user to retain some
> information (such as a database) on their phone that is gathered from
> the user on the app's first setup and not have to ask the user to
> repopulate this data on every update.
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment