Files that will survive app reinstallation?
-
Given the various QStandardPaths that are available, where would you store a file that would survive the user reinstalling the app? For example, an SQL database that had a lot of information in it that you'd really want to save. Android is supposedly a bit more flexible than iOS but iOS has that Files app. How would you save something that the Files app can see?
Ultimately, I'd like my app to create the SQL database when you install it (or first launch it) but I'd like to be able to see that file and offload it or make a backup copy of it. Note, I don't want to require the user to have some cloud subscription to do this.
-
Given the various QStandardPaths that are available, where would you store a file that would survive the user reinstalling the app? For example, an SQL database that had a lot of information in it that you'd really want to save. Android is supposedly a bit more flexible than iOS but iOS has that Files app. How would you save something that the Files app can see?
Ultimately, I'd like my app to create the SQL database when you install it (or first launch it) but I'd like to be able to see that file and offload it or make a backup copy of it. Note, I don't want to require the user to have some cloud subscription to do this.
@RogueWarrior what does "reinstall" mean?
Deleting an app on an Android deletes everything, that is by design so you don't have stuff lying around nobody is using.
Doing an app update (to a new version) does not do this removal step.