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
0
votes
1 answer

What is the best way to upload a file to server?

I upload files to my server using asynctask method in android.It works fine. But when a file is big and uploading it to server takes long time ,if I exit the app while the process is continuing, at this time I do not want to block my process , I…
CompEng
  • 7,161
  • 16
  • 68
  • 122
0
votes
0 answers

How to backup sqlite database and videos in Android app?

I have an SQLite database in my application that stores some simple text data and video file paths. I would like a way for the user to backup this information, but I am stuck on how to export the actual videos with the database. The database only…
0
votes
1 answer

SQLite database backup android

I have done the following to get SQLite database Backup/Restore working. (1)get registration from Google. [http://developer.android.com/google/backup/signup.html][1] (2)Add the key to Manifest xml file
codingForFun
  • 113
  • 1
  • 15
0
votes
1 answer

How to call a method in full life time of the application

i am developing sample application, it has a sqlite and mysql databases. if internet connection has data goes to the web server database(mysql database), if haven' t a internet connection data save sqlite database, after reopening application…
0
votes
1 answer

Application Timeout After 10 minutes Android

I want to timeout mysession from my web service if the user doesn't use the application for >=10 minutes. If the user doesn't use the application after this delay i want my session to close. I cater with it the following way c =…
Dimitri
  • 677
  • 3
  • 19
  • 46
0
votes
2 answers

backup of database to sd card

i am try to make back up feature in my app but it give force close error can any one give some idea whats wrong in my code pls help me out here is my code public class Mydatabase { private String appName = ""; private String packageName =…
Neel
  • 77
  • 7
0
votes
0 answers

How can I keep backups confidential?

I'm implementing backup in my app, following the instructions in the official Android documentation. The information I'm backing up is potentially sensitive, so I'd like to encipher it, as per the recommendation in the above document: You should…
Dan Hulme
  • 14,779
  • 3
  • 46
  • 95
0
votes
1 answer

Using BackupManager on a Android PHP-MySQL Server

I'm making an Android application that uses a coin in-game currency (that can be bought using in apps billing) and with that virtual currency the user can buy items that can only be bought once. To manage every purchase and how much coins each user…
xlar8or
  • 601
  • 9
  • 18
0
votes
1 answer

Android Full Control over BackupAgent

Before anyone points me to this link http://developer.android.com/guide/topics/data/backup.html, let me tell you that while I think is really great it also lacks some features I would like to have in my application. I'd like to have a list of…
sebastianf182
  • 9,844
  • 3
  • 34
  • 66
0
votes
1 answer

Backup SharedPreferences in Android to local Server or Device

I am developing an App for a lot of Devices, so that they aren't registered to a Google Account. But I want to backup my SharedPreferences somewhere. In best case in a folder on the device. So I tried to use the BackupAgentHelper, but this backups…
dominic
  • 385
  • 1
  • 6
  • 23
0
votes
1 answer

sqlite android backup restore example code

I'm trying to teach myself how to use Android's BackupRestore service to back up my app's sqlite database, but I can't find any example code on how to properly extend BackupAgent or BackupAgentHelper, so I'm a little lost... I looked at …
Colleen
  • 23,899
  • 12
  • 45
  • 75
0
votes
1 answer

Modifying SharedPreferences after install (restored through BackupManager)

My app has the ability to backup and restore SharedPreferences using an BackupAgentHelper class. However there are two entries that must not restored. Is there a way to reset them after restoring again? I don't want to put them in a different…
Force
  • 6,312
  • 7
  • 54
  • 85
-1
votes
2 answers

Problem with startService. How to fix it?

I have a start activity which is using services to play a background sound and after 5 seconds another activity is loaded. The problem is in the second activity the sound doesn't load or service doesn't work... i'm not sure what is happening. Sound…
-1
votes
1 answer

How to get list of all installed Apps in Android and how to take their backup

i want to make an android app that get list of all installed applications and after that user may select various apps and save their backups on google drive
fazal nabi
  • 39
  • 1
  • 4
-1
votes
1 answer

how to take android full backup using adb

I'm trying to take full backup using "adb backup -all -f path" and it took backup and stored in my PC. When i try to restore it using "adb restore path" then it restored into the target device. ADB backup command is not taking backup of messages,…
SeekeR
  • 145
  • 1
  • 7
1 2 3
14
15