Created
July 5, 2017 14:28
-
-
Save dario61081/d1a880a58d3232fd9bad3fb12796c2ce to your computer and use it in GitHub Desktop.
Drop database SQLITE on android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try{ | |
getApplicationContext().deleteDatabase("database.db"); | |
Log.w(TAG, "onCreate: Delete Database"); | |
} catch (Exception e){ | |
Log.w(TAG, "onCreate: ",e ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment