Sorry if this is a simple question, but I’ve only recently started learn coding with the end goal of making myself a simple maintenance checklist app for myself.
I’m trying to include a list of part numbers I can call from the main screen app. I have converted the original list from an excel file to an xml file using Microsoft Access, because I keep reading it’s a preferred file format in Android. I’m trying to use most of the code found on this site ( http://p-xr.com/android-tutorial-how-to-parseread-xml-data-into-android-listview/ ), but I’m trying to utilize the xml file that I’ve already added to R.raw instead of pulling it in from an http.
I’m assuming I have to replace the getxml order with an InputStream command, but I’m not sure how ?
use getResources().getXML(resourceid)