android - Sqlite Database deleted when I clear data from Application -


i have created sqlite database in app. when clear data settings->applications->manage applications sqlite db removed. suggestions keep sqlite database is.

when press clear data android application manager supposed remove related app such preferences, databases, caches etc thing gets left app when re-launch behaves if installed.

if want allow user clear data keep database there should option in menu removes shared preferences doesn't database.

hope helps.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -