Anyone implemented Android Backup Service with android:backupAgent?

时间:2016-04-04 17:08:02

标签: android backup appcelerator appcelerator-titanium

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

1 个答案:

答案 0 :(得分:0)

通过AndroidManifest.xml(可通过Titanium中的tiapp.xml配置)和res/xml文件(存储在合金1.8中的app/platform/android下)来查看所有文档+)。所以你应该可以在Appcelerator Titanium上使用它。