Keeping data while updating app
Monkey Targets Forums/Android/Keeping data while updating app
| ||
Like the topic says, is there a way to do this? I ran into the problem that when updating my app, the level unlocks, which are stored in a textfile, are lost. I see no way to keep them, because I would need something like a read access before updating. Under windows I would use the registry, but under Android? |
| ||
Hmm... I've never had this problem. All my data always stays there... Do you use LoadString/SaveString? |
| ||
The data is stored with SaveState() in a text file and loaded with LoadState(). But I've deinstalled the app and installed new version. My fault. So if you say the SaveState data stays there, I'm happy! |
| ||
Oh well yes, I meant SaveState/LoadState. I have 3 apps in the markets and my data always kept remain in place. |