View Single Post
Old 10-10-2011, 04:51 AM   #1 (permalink)
aviyach
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   Reply With Quote