BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-01-2008, 02:19 AM   #1
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default XML file adding and reading.....

Please Login to Remove!

Hi,

I want to add an XML file to my project..

How can i add the XML file to my project?

How to read the content from that file as String?
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 07-01-2008, 05:19 AM   #2
Jayaseelan
Thumbs Must Hurt
 
Join Date: Jun 2008
Location: Chennai
Model: 8130
PIN: N/A
Carrier: AIRTEL
Posts: 51
Default

Hi to all,

am trying this code in JDE 4.2.1 and 4.3.0

FileConnection fc = (FileConnection)Connector.open("filename");

But both the JDEs Displays the same error..

Error was,

cannot find symbol
symbol : class FileConnection


I included these packages in my file,

import net.rim.device.api.io.*;
import javax.microedition.io.*;
import java.io.*;

I dont know y it show like this error?

Reply plz..................
__________________
Jayaseelan.V
Mobile Application Developer
INDIA.
Offline  
Old 07-01-2008, 11:09 AM   #3
richard.puckett
Talking BlackBerry Encyclopedia
 
richard.puckett's Avatar
 
Join Date: Oct 2007
Location: Seattle, WA
Model: 9020
PIN: N/A
Carrier: T-Mobile
Posts: 212
Default

As per the documentation, FileConnection is in javax.microedition.io.file.
__________________
Do your homework and know how to ask a good question.
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


MSA Altair 4X Multigas Monitor Detector Meter O2,H2S,CO,LEL picture

MSA Altair 4X Multigas Monitor Detector Meter O2,H2S,CO,LEL

$129.98



MSA altair 4X multi gas meter Monitor detector, O2,H2S,CO,LEL Charger calibrated picture

MSA altair 4X multi gas meter Monitor detector, O2,H2S,CO,LEL Charger calibrated

$340.00



MSA Altair 4X Multi Gas Detector picture

MSA Altair 4X Multi Gas Detector

$160.00



MSA Altair 5X Multi Gas Detector - COMB,, CO, H2S ,CL2    Color Screen Version picture

MSA Altair 5X Multi Gas Detector - COMB,, CO, H2S ,CL2 Color Screen Version

$500.00



MSA ALTAIR H2S SINGLE GAS DETECTOR 10071361 picture

MSA ALTAIR H2S SINGLE GAS DETECTOR 10071361

$217.55



msa altair gas detector Lot Of 6 picture

msa altair gas detector Lot Of 6

$130.00







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