by acroyear » Fri May 12, 2017 11:19 pm
When it comes to Android apps, "it's complicated". Generally, the client makes API calls for storing the data and the O/S handles the rest, so it really can move around depending on the platform, not just for the Android version, but even for the vendor who may make changes.
Similarly, the cached files the app downloads can be stored on the SD Card in a 'public' folder (accessible by other apps) prior to Android 4...but from 4 onward, all apps keep their own data secure from each other at all times (in line with what IOS has had for a long time), which also allows the Android system preferences system to delete all the files when the app is wiped or un-installed. This is true whether you put the cache on the SD card or the main memory. There is very little control over it.
So yeah, the idea of modifying the DB from the outside isn't really something Android, as a platform, likes to encourage.
As such, no, it isn't likely that the cache data for files would survive a migration. Each installation is independent, and its is an intentional security decision to keep it that way.
--
Joe Shelby
http://subfiresuite.com/
http://subfireplayer.net/