In my android application ,user has to register by agreeing the terms and condition giving their email id. If user upgrade the application to next version, I should not get the
You Have two ways to storing your data @ local media.
Shared Preference
SQLite Database
When i should use Shared Preference ?
If your number of storing variable are not more and it should be primitive values then you can use Shared Preference
.
See This for sample code .
Or
When i should use SQLite Database ?
If you have to store number of variable and which are not primitive and also you need that data for long time then you should use SQLite Database
.
See This for sample code .
Now its Depends on you as per your requirement.