I developed and install an android application which create a sqlite database.
If I uninstall this app the database will be automatically dropped?
I developed and install an android application which create a sqlite database. If I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
YES….
After create Database it will be located at
data/data/YourPackage/mydatabase.db.when you install application on Emulator or Phone then it will be visible in File Explorer.
This
mydatabase.dbfile will be deleted when you uninstall your application but if you reinstall this application then this database file again created and will be available in your private folder.Edit
Suppose you want to store some value in Database(SQLite), For this you need to create one java class like
MySQLiteHelperand then you can simply write your value in database.If you uninstall you application then your value and database will be deleted but if you again reinstall your application then your database again created but previous value will be lost.