My phone (5.0.1 Samsung S4) has an setting in "Backup and Reset" of "Backup application data, wifi passwords, and other settings to google servers".
But it doesn't seem to restore my app's SQLite database if the user "moves" to a new device. My app will be automatically installed on the new device, but it will not have the data from the previous device.
My only thought is that I am putting the database in the "File.DirInternal", which physically places it in the /data/data/com.mycompany.myapp/files. But I also see a "/database" directory at the same level in the directory tree.
So, would putting the database in that directory properly allow google's server to restore the database on the new device when it auto-installs the app on the new device?
And if so, how would I place the database in that directory when it's adjacent to File.DirInternal directory?
But it doesn't seem to restore my app's SQLite database if the user "moves" to a new device. My app will be automatically installed on the new device, but it will not have the data from the previous device.
My only thought is that I am putting the database in the "File.DirInternal", which physically places it in the /data/data/com.mycompany.myapp/files. But I also see a "/database" directory at the same level in the directory tree.
So, would putting the database in that directory properly allow google's server to restore the database on the new device when it auto-installs the app on the new device?
And if so, how would I place the database in that directory when it's adjacent to File.DirInternal directory?