Restore sms from Google Drive
In previous post I described how to backup sms in Google Drive. In this post I will try to restore sms from a backup saved in Google Drive, and I will also use the new app data folder . As always, it is just an example. It is quite simple, but pay attention , you will write your SMS Content Provider. In order to backup sms, in our app we can do these steps: Choose a Google Account through AccountPicker.newChooseAccountIntent() . Search for a backup file from Google Drive Parse the backup file Update Sms Content Provider In our example we will search our backup file in a Google Drive folder or in appdata folder. . Files.List request = mService .files() .list() .setQ("mimeType = '" + MIME_TEXT_PLAIN + "' and '" + folderId + "' in parents "); If you want to use appdata folder, folder...