BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 10-10-2011, 04:51 AM   #1 (permalink)
New Member
 
Join Date: Mar 2011
Model: 9550
PIN: N/A
Carrier: vodafone
Posts: 4
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default FILE CONNECTION -controlled access exception

Please Login to Remove!

I am running this code in simulator and it is throwing controlled access exception

FileConnection fc = null;
boolean _created = false;

try
{
fc=(FileConnection)Connector.open("file:///SDCard/testFolder/test.txt",Connector.READ_WRITE);
fc.create();
}catch(Exception e)
{}

any help is welcomed


A Y
Offline  
Old 10-10-2011, 08:06 AM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default Re: FILE CONNECTION -controlled access exception

You need to set the application permissions to allow file access.
Offline  
The Following User Says Thank You to Dougsg38p For This Useful Post:
aviyach (10-13-2011)
Old 10-13-2011, 05:19 AM   #3 (permalink)
New Member
 
Join Date: Mar 2011
Model: 9550
PIN: N/A
Carrier: vodafone
Posts: 4
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: FILE CONNECTION -controlled access exception

Thank you very much, that issue is solved!
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: FILE CONNECTION -controlled access exception
Thread Thread Starter Forum Replies Last Post
Local Database Connection Error ogaal BES Admin Corner 10 11-25-2009 02:05 AM
Built HelloWorld App; No Errors; But Can't get it to run in Simulator doni49 Developer Forum 14 10-06-2009 10:19 PM
File Manager Pro v1.5 Released TerraMobility Aftermarket Software 2 09-12-2009 07:19 PM
how to access logic of the jad file download page? kosh Developer Forum 1 09-04-2009 05:10 PM
Security event ID 565 Danny_Larouche BES Admin Corner 3 03-22-2007 11:17 AM

5x P218ACS A0044 BNA 85414 Adjustable Coil Variable Inductor FM Filter Shielded
$5.15
5x P218ACS A0044 BNA 85414 Adjustable Coil Variable Inductor FM Filter Shielded  pictureRoyal Enfield Pick Up Pulser Coil Bullet Electra 500968
$9.99
Royal Enfield Pick Up Pulser Coil Bullet Electra 500968 pictureROYAL ENFIELD PICK UP PULSER COIL UNIT BULLET ELECTRA 500968
$11.25
ROYAL ENFIELD PICK UP PULSER COIL UNIT BULLET ELECTRA 500968 picture560-19 19 mm ID Internal Dia Rubber Bellows Coil Water Mechanical Seal 40 x 35mm
$8.08
560-19 19 mm ID Internal Dia Rubber Bellows Coil Water Mechanical Seal 40 x 35mm pictureROYAL ENFIELD CDI UNIT CHARGING COIL FITS ALL AVL ELECTRA MODELS
$10.25
ROYAL ENFIELD CDI UNIT CHARGING COIL FITS ALL AVL ELECTRA MODELS  picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.