Ok so far I can read the value of the shared file by using the content uri: content://com.application1/shared_prefs/application1_conf.xml. Manually this pulls back the details of the XML file. Now I need some help below on my code below to read the file and pick out one value only. I don't want all the values in the Xml, just one. I then need to return this to the calling function.
Thanks Prasad, Im just trying to debug it as my code is showing no value returned and when I debug, I can see a path location for my own application, in that its looking for application1_conf.xml under my own app's folder:
My Android app needs to read a value from an XML file stored in shared_prefs under another app and store it in a parameter in my apps code. So I have the path to the file but I don't know how to code it: