ANURAG GUPTA
ANURAG GUPTA

Reputation: 193

storage of android app data so that data couldnot be erased

if we store data in sqllite database in android, then data will get erased if this apk is installed in another phone.

Then how does offline dictionary apps store data which is accessed by everyone having the app.

Upvotes: 0

Views: 55

Answers (1)

Emmanuel
Emmanuel

Reputation: 13223

I might not fully understand this question, but if you are storing data in a SQLite database, it will only be persisted on that device; it has nothing to do with the apk or installing the apk on another device. The application will attempt to create a new database on every device it is installed.

Installing the apk on another device will not copy the database from one device to another.

Upvotes: 1

Related Questions