I would like to upgrade my app to android market and some users have the old version of the app. What I want to do is in my new app, I want to run some codes to change a bit on the app database when the user do the update of my app, so how can I check if the user has the older version of my app in their mobile?
Share
You should use a SQLiteOpenHelper-class to manage your Database (tutorial).
In your new App’s version, you simple increase the version-number of the Database so the
onUpgrade()-method gets called and you do your work on the Database.