Re: [android-developers] How to read XML file from sdcard and parse it?

2010-01-08 Thread dilli rao
InputStream obj_is = null; Document obj_doc = null; DocumentBuilderFactory doc_build_fact = null; DocumentBuilder doc_builder = null; obj_is = new FileInputStream(/sdcard/xmlfile.xml); doc_build_fact = DocumentBuilderFactory.newInstance(); doc_builder = doc_build_fact.newDocumentBuilder();

Re: [android-developers] How to read XML file from sdcard and parse it?

2010-01-08 Thread Mark Murphy
ROHIT wrote: I want to access the XML file from sdcard and i want to parse thar file. How ta access this file and pass it to Parse method? Use Environment.getExternalStorageDirectory() and build a File object to point to the XML file in question. After that, if you are using DOM or SAX, it is

[android-developers] How to read XML file from sdcard and parse it?

2010-01-07 Thread ROHIT
I want to access the XML file from sdcard and i want to parse thar file. How ta access this file and pass it to Parse method? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] How to read the file in sdcard?

2009-03-16 Thread AlexNguyen
I have the file in sdcard: sample.xml I want to read it, so I dont know some code to connect to sdcard in android. Anyone help me, please? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers