AS3 AIR : Android Application : ApplicationDirectory vs applicationStorageDirectory

588 Views Asked by At

I am developping an application for Android using flash builder and AIR.

This application is already available on the Google Play Store. I use a SQLite databse to keep the access to levels for users.

I've to do an update because there are some bugs. I'm afraid of losing all user data with the update.

At the moment, this is the way I'm stocking to my database :

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

Questions are :

  • My database in ApplicationDirectory is going to be deleted ?
  • applicationStorageDirectory is better ?

Thanks a lot for help.

0

There are 0 best solutions below