 <p>Since Android 6 there is a Backup API. See <a href="http://developer.android.com/training/backup/autosyncapi.html" rel="nofollow">http://developer.android.com/training/backup/autosyncapi.html</a></p>