Most apps, certainly all the ones I've ever used, do not delete folders/data in user space when uninstalled, only their own files.
I stand corrected. Thanks ! Made a test to confirm: I have app
Skitch installed, and it stores stuff in this folder:
/storage/emulated/0/Android/data/com.evernote.skitch
I uninstalled Skitch, and that directory was also deleted. Does that qualify as
folders/data in user space
? Or you're referring strictly to directories we, users, create ?
Making a parallel with GNU/Linux (I run Xubuntu 14.10 on my laptop), config files under
/etc/ may be deleted when the app is uninstalled (depending on how you choose to uninstall it), but config files under the home directory are
never deleted when the app is uninstalled. What would be the Android equivalent to these 2 locations for configuration files ? If
/storage/emulated/0/Android/data/com.evernote.skitch was deleted when I uninstalled Skitch, I guess that qualifies
/storage/emulated/0/Android/data to be like
/etc, and my
/storage/sdcard1/data/syncthing would qualify as a home config directory. Does that make sense ?
I keep all my own-generated data on external SD card, in folders named for the apps it relates to e.g. /App01, /App02 etc
Why don't you keep them all as subdirectories of, say,
/storage/sdcard1/data, so that you can backup them in one single sweep ? That was my idea when I created
/storage/sdcard1/data/syncthing: I define
/storage/sdcard1/data as a syncthing shared folder, so that it's kept in sync with my laptop.
But then again, the question remains: if the app (syncthing, for this particular example) exposes an option to export its configuration, in which directory should it export its backup configuration files to, so that it's not deleted when the app ins uninstalled ?