Reputation: 335
I've read the guide about application data backup in Android here http://developer.android.com/guide/topics/data/backup.html, but I couldn't understand one thing - how cloud identify what user asks his information. The process is transparent for users, so they don't input any flags for recognitions. For example: user uses application, saves some strings information and then changes mobile device, downloads same application again, installs it and how he gets same information? Maybe there's something I've missed in that android guide?
Upvotes: 4
Views: 1907
Reputation: 10529
FYR - On SDK version 23 and up, your app data will be automatically backed up, and restored on app install. Your GCM regid will not work across restores, so you must ensure that it is excluded from the back-up set. Use the attribute android:fullBackupContent to specify an @xml resource which configures which files to backup. More info: https://developer.android.com/training/backup/autosyncapi.html
Upvotes: 0
Reputation: 21909
The backup framework is independent of the actual backup service provider, and can use other backup service providers, but the default one is the Google Android Backup service (In the doc that you reference, The Basics contains a link to this page) which will back up the users' data to their Google accounts.
Upvotes: 1
Reputation: 2568
In Android, user is most likely identified by his Google Account (Android Market knows your identity, that's why same apps get installed when you wipe your phone or get a new one).
Upvotes: 0