Search code examples
androidsqlitecloudandroid-sqliteandroid-backup-service

Is Sqlite database persistent for android system apps on Device Wipe / Factory Reset


I am developing an application for android devices,later this will be shipped with the android device as a system app. This app has SQLite database implemented in it and later it may have some data in it.So my question is that, if user wipe his/her device the SQLite database will be wiped or not.


Solution

  • If by "wipe" you mean a factory reset or a manual OS install, then yes, all data including system data such as contacts, settings, everything is most certainly erased.

    EDIT:

    Google provides a cloud backup service for system or third party apps to restore user data on reset. See also the Using the Backup API tutorial for the implementation.