0

I would like to know if all the files (database, configuration) of the application are deleted when application is updated. If yes, then how can i save them during the update?

Dharman
  • 30,962
  • 25
  • 85
  • 135
Armen
  • 255
  • 1
  • 2
  • 12
  • Related to http://stackoverflow.com/questions/4973154/upgrading-android-version-cleans-application-data – Gray Mar 30 '12 at 18:12

1 Answers1

1

The database and user preferences are not deleted. If you need to update the database, override the onUpgrade function in your DatabaseHelper class.

coder
  • 10,460
  • 17
  • 72
  • 125