How can I make Android application data persistent? -
i new android development , creating "todolist" app in android.
i used sqllite database save list in database table, , saved data perfectly.
i don't have android phone, can check application using emulator.
after saving tasks in database, if user restarts phone task list in database deleted or not? if deleted how can make data in table persistent?
the table stays if user reboots phone. off top of head, think way rid of table either:
- delete (programmatically or via sql command line)
- uninstall application
simply upgrading application new version not delete existing tables (so long use same keystore when making apk.)
-- dan
Comments
Post a Comment