Questions tagged [android-backup-service]

Android Backup Service is integrated with Android's data backup framework to perform data backup and restore for most devices running Android 2.2 or greater, using Google servers and a backup transport on the device.

Android Backup Service is integrated with Android's data backup framework to perform data backup and restore for most devices running Android 2.2 or greater, using Google servers and a backup transport on the device. In some cases, a specific Android-powered device might include a different backup transport for backup services, or might not provide a backup transport at all. Whether or not a device performs backup using Android Backup Service or another service is transparent to applications—the backup APIs used by applications are independent of the backup transport enabled on the device.

225 questions
1
vote
2 answers

Android Internal External Storage

I am on developing an App which has backup functionality.I have implemented the functionality successfully but the only one area i am still having trouble is the following... To check the External Storage availability we can use following function…
1
vote
0 answers

Not ready for backup request right now

Whenever a user installs my app for the first time an instalationID is generated randomly (say Instalationid =123). I am trying to back up this instalationID, so that when the user uninstalls and then installs my app the old instalationID (123) will…
Alan Ford
  • 365
  • 1
  • 4
  • 15
1
vote
1 answer

SharedPreferences Backup Not Working

MyBackupAgentHelper.java public class MyBackupAgentHelper extends BackupAgentHelper { private static final String MESSAGE_DB_FILE_BACKUP_KEY = "MESSAGE_DB_FILE_BACKUP_KEY"; private static final String DEFAULT_SHARED_PREFRERNCES_KEY =…
ChangUZ
  • 5,380
  • 10
  • 46
  • 64
1
vote
2 answers

Android rest process in background

I have a server running on some where and an Android application for end user. From Android application user can delete message, and this delete message will trigger sending a delete request to server through REST and server will delete it. Does…
1
vote
0 answers

BackupAgentHelper not backing up data

This simple task has turned into a nightmare for me. When requesting a backup Im doing adb shell bmgr backup my.package adb shell bmgr run But I dont receive any messages in the cmd line, however in my logcat I recieve this: 12-22 20:44:46.781:…
zoltish
  • 2,122
  • 19
  • 37
1
vote
2 answers

Storing encrypted value in AndroidManifest

I have signed up for the Android Backup Service, and have been given a key to put in my AndroidManifest.xml. My application is open source, but I do not want to have the key publicly visible in my repository. How should I encrypt the key so that is…
Aaron Hill
  • 3,196
  • 1
  • 18
  • 34
1
vote
0 answers

BackupTransportService Server policy exception

In order to try to stay "up to date" with my apps, I wanted to implement the Backup-Service from Android's Framework. What I did was add 3 preference files with the SharedPreferenceBackupHelper and Implement my own database backup helper as a form…
1
vote
0 answers

moveTaskToBack not working in different android OS

I am using moveTaskToBack to put my app in background. App is working fine in OS 2.2 but when i test same app in OS 2.3.6 i face some weired issues. While internet is connected if I put app in background and then again in foreground things are…
Nitish Patel
  • 1,026
  • 2
  • 19
  • 36
1
vote
0 answers

android backup agent and SherlockMapActivity

I try to implement a Backup Agent in my Android app, and I've got a weird issue every times it restore (at first launch) : Unable to resolve superclass of Lcom/actionbarsherlock/app/SherlockMapActivity; (916) Link of class…
1
vote
0 answers

When does Android actually perform Backup

I am using Android BackupManager to backup my application data. But as it is stated in the documentation that Android perform lazy backup as it doesnot perform it as soon as I call its dataChanged() method but waits for appropriate time.. I just…
aneela
  • 1,457
  • 3
  • 24
  • 45
1
vote
1 answer

Android BackupManager not restoring after uninstall or other devices?

I am using the BackupManager to backup SharedPreferences to the cloud. Now this works as expected when I use it on a single device and only perform a reinstall not a full uninstall. To do that I am clearing data which wipes prefs and than…
Bobbake4
  • 24,509
  • 9
  • 59
  • 94
1
vote
1 answer

Android how to save SD file to cloud

I try to save/backup sd files on cloud but can't find a way to do this. I see BackupAgentHelper but it's said on doc it's only for sharedPreferences or internal files. Here is a way to use FileBackupHelper with a file on SD card ? Or maybe I have…
jaumard
  • 8,202
  • 3
  • 40
  • 63
1
vote
1 answer

Error : Neither user 10066 nor current process has android.permission.BACKUP

I am developing an android application for which i was studying about Google Backup API , i read this tutorial http://www.edumobile.org/android/android-development/backup-manager/ and tried to implement it but it is crashing all the time The…
Avi Kumar
  • 4,403
  • 8
  • 36
  • 67
1
vote
1 answer

BackupAgent fails after package rename

I have an app, that uses backup feature. This is line from my manifest: android:backupAgent="my.package.backup.BackupAgent" It works fine in current version. But now I want to move the same BackupAgent to another package…
Jin35
  • 8,602
  • 3
  • 32
  • 52
0
votes
0 answers

G Cloud says I have thousands of pictures and data but I cannot find anything when I log into my g cloud account. No Buckets either

I received this email.... Your account has expired! Don’t lose your Photos and Videos. You have backed up 5535 photos and 536 videos on G Cloud! Renew your subscription now and don’t lose your precious memories. You can get 17% OFF all annual plans…