user1010572
user1010572

Reputation: 479

Persist SQLite Data upon application uninstall

We are storing a unique identifier for the mobile device in an SQLite database, to be used for licencing purposes. The problem is that if a user removes the application then reinstalls it again, the SQLite database is gone along with our stored variable.

How to prevent removing the databse upon application installation, so that we can reuse the database if the application was reinstalled again

Thanks

Upvotes: 1

Views: 326

Answers (3)

Deepjyoti Roy
Deepjyoti Roy

Reputation: 482

In the program you can create a copy of the SQLite database. Simply drag and release the database into the program resources.

Upvotes: 0

datwelk
datwelk

Reputation: 1037

You could:

Upvotes: 0

Scar
Scar

Reputation: 3480

You can approach this by sending the information to a server side, you can't store any data out side the application sandbox.

Upvotes: 2

Related Questions