Xml data

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Xml data

Postby Steph » Mon Nov 09, 2009 12:39 pm

Hi,

I save some sata in a xml files in FILE_NAMES_PATH= /data/data/android.com.us/myxml.xml

i can correctely write my data but I have a probleme to open the file.
i have a exception Message = null, cause = null. So, no information.

Please, does somebody know why?

thanks

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.  
  3.  
  4. SAXParserFactory sof = SAXParserfactory.newInstance();
  5.  
  6. SAXParser sp= spf.newSAXParser();
  7.  
  8. XMLReader xr = sp.getXMLReader();
  9.  
  10.  
  11.  
  12. MyLocalHandler myHandler = new my Localhandler();
  13.  
  14. xr.setContenthandler(myHandler);
  15.  
  16.  
  17.  
  18. xr.parse(new InputSource("file://"+FILE_NAMES_PATH);
  19.  
  20.  
  21.  
  22.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4
Steph
Experienced Developer
Experienced Developer
 
Posts: 90
Joined: Mon Oct 20, 2008 1:48 pm
Location: France

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 5 guests