In Android 6 it looks like Google has finally got its automatic backup service to include pretty much all app data in it's backups to a nominated Google account as long as android:targetSdkVersion="23".
However in versions of Android prior to 6, as I understand it, you need to implement a custom BackupAgent in order to include specific files into the Backup Service such as app-generated files and databases.
How might I achieve this in Appcelerator, would a custom module be required along with new entries in the Android section of tiapp.xml?
http://developer.android.com/training/backup/autosyncapi.html http://developer.android.com/training/backup/autosyncapi.html#previous-androids
答案 0 :(得分:0)
通过AndroidManifest.xml
(可通过Titanium中的tiapp.xml
配置)和res/xml
文件(存储在合金1.8中的app/platform/android
下)来查看所有文档+)。所以你应该可以在Appcelerator Titanium上使用它。