I am making an Android app whose core functionality revolves around a single CSV file, which is stored in the 'assets' folder. It is a dictionary-type app, and once I have finished coding it, the only updates I can foresee (it's a very simple app) will be updates to this CSV file as I modify the dictionary content.
Rather than having to recompile and submit a new version to the Google Play store each time I update the CSV file, it seems sensible that users would only have to download the app once, and periodically the app would check online for an updated CSV file.
How would I go about retrieving a resource from a URL and automatically copying that into the 'assets' folder?