So Im trying to solve a problem and I was previously posting on this trying to code a certain solution but I think I went up the wrong path and Android wouldn't let me access the file.
In my Android application, I'm trying to read the value stored in the shared_prefs folder of another application. That application exports a content provider.
Anyone any idea what way to code this.
posted 2 years ago
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.