Android Tutorial 17 – onUpgrade replace entire database

Download Tutorial17.tarThis tutorial shows you how to overwrite a database file with another database file using the onUpgrade method. This is NOT the prefered way to do this, as you will lose any data your application’s users have put in their database (DUH) BUT…If your application does not write to the database, you can get away with this.