I
I
Ilya2020-07-11 21:12:04
Java
Ilya, 2020-07-11 21:12:04

How to prevent on android from deleting / clearing the phone / user database?

I have an sqlite database in my application.

The user can go to his phone settings-> applications-> my application
And there you can clear the cache, it's not scary, but you can also clear the application data, including the database.
How to make sure that the database is not deleted during cleaning?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-07-11
@RadioRedFox

Backup to the cloud and restore. You can still save to the SD card, but you can also delete it from there.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question