I need to store a user's game scores. I saw this posting ' Persistant storage AIR for Mobile '
but still not sure what the pros and cons are for the following methods
-storing to a file
-local shared object
-encrypted local store
-sqlite
I'd go with a local shared object. It's easy to use and your game scores probably won't exceed the size limit. Here are some pros and cons of the different methods:
Pros: No size limit
Cons: You have to create your own file format to store data
Pros: Very easy to use, you can store arbitrary Actionscript objects
Cons: Size limited to 100KB
Pros: Secure storage for sensitive data like user passwords
Cons: Slow, can store only ByteArrays
Pros: SQL database that can be queried efficiently
Cons: You have to have to design a database schema, API is cumbersome
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.