View Single Post
Old 05-26-2009, 06:32 AM   #10 (permalink)
levantiep
New Member
 
Join Date: May 2009
Model: 7290
PIN: N/A
Carrier: meet bug in blackberry JDE 4.7.0
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear All,

When i coding for reading csv & txt file, I have a problem similar with Jayaseelan. And i have done follow everyone who have reply in this topic.
At last i have not reading csv & txt file. I'm using the "Blackberry JDE 4.7.0" tool and run it on Windown xp sp2. please help me if you know !

here is my code:

String filePath = "file:///store/home/user/test.txt";
FileConnection fc = (FileConnection)Connector.open(filePath,Connector. READ_WRITE);
if(!fc.exists()) {
throw new IOException("File does not exist");
}
InputStream is = fc.openInputStream();

Thanks & Best regards,
Tiep Le
Offline   Reply With Quote