Reputation: 479
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
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
Reputation: 1037
You could:
Upvotes: 0
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