I have created one database and one table user in that while running my android app.
Problem is when at the first time i created user table, i miss the field password to create.
So i rewrite my code so as to create the user table again which contains the field password in it.
But the problem is i had put the code in onCreate method inside my DatabaseHelper class.
Since the database is already exists, the function onCreate will never call.
Can anyone tell how can i solve this issue.?
An easy option is just to uninstall the application on the device in the settings menu (or use the adb uninstall command), then the database will also be deleted and recreated if you run the application again.
Quick and simple without having to implement onUpgrade or something, that would be for when the application has hit the market/is really in use.