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 no different than any other Java environment, and there are countless examples posted on the Web for using InputSource and stuff. I tend to use exampledepot.com when I need a reminder on how to do things like that. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year
-- 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en