| « Book Review: Blender 3D 2.49 Incredible Machines | Unity Game Development Essentials [Book Review] » |
I develop on a Mac and mainly use XP for Windows testing from time to time, given that you rarely encounter an OS inconsistency when developing AIR, this is infrequent.
So when I need to look at the files my app’s store in the applicationStorageDirectory I often find myself googling for the file-system paths on Windows, particularly Windows Vista and 7. Here’s a list of the paths for your and my reference:
- Windows XP: c:\Documents and Settings\USERNAME\Application Data\APP_NAME
- Win Vista/7: c:\users\USERNAME\appdata\roaming\APP_NAME
- OSX: /Users/USERNAME/Library/Preferences/APP_NAME
- Linux (ubuntu): /Users/USERNAME/.appdata/
Also worth remembering that when running with adl/Flash Builder the storage folder will be named simply “APP_NAME", but when installed as an application the folder would append a publisher ID for AIR 1.5.2 apps (e.g."APP_NAME.1234567.8″), however from AIR 1.5.3 apps this is no longer true, it will maintain the simple “APP_NAME” folder name. (See AIR 1.5.3 release notes).
If you are using the migration strategy (adding <publisherid></publisherid> to your app manifest) for AIR 1.5.2 -> 1.5.3 your app storage folder will keep this publisher ID so files are still readable from AIR 1.5.3. Please correct me in the comments if any of this is wrong.
Follow me on Twitter
Recent comments