I tested that it is possible for Android to pass newVersion
< oldVersion
to SQLiteOpenHelper.onUpgrade()
method, ie. it wants the application to downgrade its database.
I don't want to handle this case, though I would like to notify the user somehow that there exists a newer version of my application (which she apparently had installed previously) and that's the one she should be using.
Any ideas what would be the best way to achieve this? Toast
? AlertDialog
(but in what context)?