BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 01-06-2010, 10:06 PM   #1 (permalink)
New Member
 
Join Date: Jan 2010
Model: 7100T
PIN: N/A
Carrier: 7100t
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy import java.io.File; is not available

Please Login to Remove!

Hello Friends,
I am trying to parse an external file.
But when i am doing
File file = new File("c:\\MyXMLFile.xml");
.................................................. ......... it does not work.
Can some one please help me out??
Awaiting your reply.
Thanks in advance
Offline  
Old 01-06-2010, 11:47 PM   #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

You want to use FileConnection.

See the API docs.
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





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