Hi I am trying to Parse a local xml file (which has database table information) and ultimately store the information in SQLite DB. It is stored in the raw folder which I created under the res.
But I don’t know how to open it and Parse using SAX parser. Went through different tutorials but did’t work.
If Someone can guide me its great. Thank you
You can get an InputStream using openRawResource (
getResources().openRawResource(R.id.{resourcename})). You can then pass that InputStream to your SAX parser like you would if it was a regular file.