Welcome!

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

Java Development

Reply
Contributor
Posts: 33
Registered: ‎05-12-2010
My Device: none
My Carrier: none

Controlled Access Exception and Bold 9700 simulator

Hello Blackberry developers!

 

I was going to ask you some question regarding RadioButtonFields but somehow my program finally worked, however since I never run out of dumb questions to ask, I thought I might give a try to this one:

 

When I run my program on the Bold 9700 simulator, I get a ControlledAccess Exception when I try to create a .txt file in the directory ""file:///store/home/user/", however, if I run the simulator again, the file has been created and the rest works perfectly fine. So I don't really understand what I am doing wrong, could anyone help ?

 

I have read on the forum that the Bold series are restrictive on read/write in the home folder, but since my program works the second time, I can't really say I understand.


Could anyone give me some advice? It's mostly a general knowledge about Blackberries question.

 

However, I will grant kudos for all of you devoted posters! Smiley Very Happy

Highlighted
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: Controlled Access Exception and Bold 9700 simulator

Please post the full stack trace of the ControlledAccessException.