mardi 7 juillet 2015

Using 'adb backup' to backup application programmatically

Currently, I'm performing backups of my application using the adb backup command with my device connect to my pc via a micro usb cable. The command looks like as follows:

adb backup -f Backups/app.ab -noapk com.me.app

Which outputs and android backup (ab) file called app.ab in my Backups folder.

I'm wondering if it's possible to backup an app to the SD Card programmatically? I just need to backup the app and it's databases periodically.

Any links/docs on this issue would be helpful.

Thanks, Matt

Aucun commentaire:

Enregistrer un commentaire