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

Native Development

New Developer
Posts: 27
Registered: ‎05-07-2014
My Device: bb10
My Carrier: Zensar Response Document

reading files from appdata showing permission denied


i am trying to read /accounts/1000/appdata directory but it is showing permission denied we cannot read app contents from this directory

QDir dire("/accounts/1000/appdata");

Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: reading files from appdata showing permission denied

No you don't have permission.


You can use Momentics, QNX System Informaiton, Target File System Navigator to see what permissions have been set and to which Owner.


If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Posts: 108
Registered: ‎04-14-2013
My Device: BlackBerry Z30
My Carrier: Chunghwa Telecom

Re: reading files from appdata showing permission denied

No, you can't access this folder in your code.


You can only access your own app's folder.


for example  : accounts/1000/appdata/com.you.app/


I tried to scan the accounts/1000/appdata/  folder in order to get all installed apps list but failed ... orz


Just for your reference  Smiley Happy

BlackBerry Certified Cascades Developer