10-06-2009 11:45 AM
I am reading pictures from system/samples/pictures and show them in my application to the user. It works on simulator but not on device. When I try to open InputStream I get Controlled Access exception. My application is signed. How do I read them?I saw that they are forward locked with png.rem extension. Is it at all possible to read them . thanks
Solved! Go to Solution.
10-06-2009 11:54 AM - edited 10-06-2009 11:56 AM
Have a look at the details of the exception, especially the stack trace. I suspect your application is denied the permission to read files from the local filesystem.
P.S. Also, I recall the somebody mentioned in this forum that built-in ringtones and pictures aren't directly readable. May be that's the case...
10-09-2009 04:23 AM
10-06-2010 11:25 PM
I'm getting the same error right now.
BlackBerry Torch (9800); 184.108.40.206
Situation is slightly different, I'm creating a directory in "system/home/user/foo/bar"
This is a new directory, should be alright to do. In fact, I'm pretty sure it was working with 220.127.116.11. Now that I'm updated to 18.104.22.168, I'm not getting it to work correctly.
All permissions are set to allow ( confirmed from advanced permissions manager).
This is not a built-in ringtone, I'm trying to create application files.