I’m writing an application for Android. If I start it up for the first time onCreate runs as intended. It won’t run again. That’s OK, but I want to force it to run. How can I make it do so?
I’m writing an application for Android. If I start it up for the first
Share
Go to Settings -> Applications -> Manage Applications, find the app and Clear Data. That will delete the database and cause
onCreate(...)of theSQLiteOpenHelperto be called next time the app is started.