b-ryce
b-ryce

Reputation: 5828

Persistant storage AIR for Mobile

I have a Pure AS3 app that I'm deploying to both iOS and Android. There is a small amount of data that I'd like to save to the device but I'm not sure the best way to go about it.

Especially if the application gets updated from the market with a bug fix or new content, in which case I still need to have that data stored.

After digging around, I found this article: http://blog.emobistudio.com/index.php/tag/adobe-air-sdk/ Basically lists the 3 options as SharedObject, SQLLite db, and a file.

Upvotes: 2

Views: 804

Answers (1)

Stephan Branczyk
Stephan Branczyk

Reputation: 9375

SQLite or a file will be fine after an update (at least on Android, I don't know anything about iOS, but I'd suspect it should work the same way).

Second question, no, it won't be hard, as long as you don't change your package name and the way you sign your application, the file should end up in the exact same location as before (again, I'm speaking more of Android, I don't know much about iOS).

Upvotes: 0

Related Questions