Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Posts: 37
Registered: ‎03-10-2011
My Device: Not Specified

where can I put files created by my app

Hi all,


when I save document edited by my app I get 'Permition denied' error. Where can I save the document? How can I get that folder?

Posts: 249
Registered: ‎11-02-2010
My Device: PlayBook
My Carrier: -

Re: where can I put files created by my app


  you can't write in the App. directory. You should use:

Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: where can I put files created by my app

If the files are application specific, like preferences, they can go in the app-storage directory.  Files in this directory will get removed when the application is uninstalled, but remain if the application just get upgraded/re-installed.


Files that are user data specific (e.g. photos, database, documents) should go somewhere in the document directory (AKA shared directory).  There are sub folders for things like photos, videos, etc.