I am creating an app and I need to add the possibility to export the data stored in the app.
Is there any best practice to follow?
At the moment I create a file in Context.cacheDir and notify DownloadManager about it.
The file cannot be opened in the end, but I am wondering if there is a best practice to follow for this kind of operations.