AS3 AIR: Android Application: ApplicationDirectory vs applicationStorageDirectory

I am developing an android application using flash constructor and AIR.

This app is already available on the Google Play Store. I am using a SQLite database to provide level access for users.

I need to do an update because there are some bugs. I am scared of losing all user data by updating.

I am currently using my database:

var embededSessionDB:File = File.applicationDirectory.resolvePath("./db/mamygaga.sqlite"); 

      

Questions:

  • Will my database in ApplicationDirectory be deleted?
  • is applicationStorageDirectory better?

Many thanks for the help.

+3


source to share





All Articles