In my application I have a listView. I want to update its content on a regular basis.
I use string XML file in res folder, which contains strings that populate the listView. What I want to do is check for an update when the application starts (assume I have my own updating system on private server), if update is found:
Download new XML file with the new strings, update them in the listView.
From what I read you can’t just simply replace the XML files in the res folder.
How can I update the listView content from external XML? Or is there a better way to do it other than this?
Why do I want this? Since I am only updating small content, I don’t want the user to download the whole APK file instead of few lines of text.
You can put your xml file in internal storage of application, and whenever you get update just replace your xml file.