226 questions
1
vote
0
answers
49
views
How to delete old app backups or keep the phone from restoring that data in Android?
We are developing an app for a client and the app had always set android:allowBackup="true" in the android manifest. We got the request to not allow backups, so we set allowBackup to false, ...
0
votes
1
answer
536
views
Will migrating to a new device work when using EncryptedSharedPreferences?
I know that EncryptedSharedPreferences use the android keystore to encrypt preferences securely and that the android keystore is tied to the devices hardware I also read that the keystore cannot be ...
0
votes
0
answers
165
views
API 31 - What could be the possible reason why cloud backup is working in Android Studio debug mode, but not working after uploading to Google Play?
I have the following settings
AndroidManifest.xml
<application
android:fullBackupOnly="true"
android:allowBackup="true"
android:fullBackupContent="@xml/...
6
votes
1
answer
4k
views
dataExtractionRules in Android12
When we don't want to maintain SharedPreferences or any backup file, we can just set android:allowBackup="false" in AndroidManifest.xml.
But android:allowBackup="false" is ...
1
vote
0
answers
3k
views
having problem converting .ab file to .tar
I extracted the package of the app Dafit successfully with ADB.
using this command,
adb backup -apk com.crrepa.band.dafit
with that command I got a file named backup.ab
Now I'm using abe.jar to ...
4
votes
1
answer
1k
views
Android: How to backup DataStore file to keep it through the app reinstall
I wonder if it's possible to backup and restore a DataStore via the backup feature on Android.
Let's say I have some AppDataStore class which provides a logic to keep some user-related preferences via ...
1
vote
0
answers
352
views
Hive box items are not restored when I factory reset my android phone and restore app data
I have an Flutter app where I store some data using Hive. It seemed everything worked fine. But it happened when I factory reset my android phone.
Here's what I did.
Data backup at Setting
Factory ...
2
votes
1
answer
2k
views
Not allowed to delete channel MyNotificationChannel with a foreground service - Android 10 and 11 java.lang.SecurityException
I created notification channel when background service is running
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
NotificationChannel channel = new NotificationChannel(channelId,
...
1
vote
1
answer
369
views
Android auto backup - get last backup time
I am using the Android AutoBackup feature in my app. These are my manifest settings.
<application
android:allowBackup="true"
android:backupAgent=".BackupAgentCustom"
...
5
votes
2
answers
3k
views
An error occurred while executing doInBackground() for keyclock authService.performTokenRequest() function
While integrating Keyclock SDK ,
I try to exchange authorization code to access token
authService.performTokenRequest(
resp.createTokenExchangeRequest(),
new AuthorizationService.TokenResponseCallback(...
1
vote
0
answers
98
views
How to backup a list of URI
My problem is a bit tricky to explain but I will do my best.
I have an object called "Store" that contains a list of URI paths (in String format) that have been previously selected by the ...
4
votes
2
answers
2k
views
How to get Android to store app data in user's Google account so it is restored on-install on new devices
We're implementing a loginless system on our web, iOS, and Android app that allows the user to have a persistent identity without requiring any sign-up/sign-in flows whatsoever.
A key part of ...
1
vote
0
answers
209
views
Why does Android overwrite stored data when deploying?
First of all, please consider that I am a newbie to Xamarin.Forms and mobile app development in general, hence solution to this problem might be something pretty easy. Nevertheless, I did a lot of ...
0
votes
0
answers
159
views
Android - how to extract/backup your phone contact list and browser bookmarks (stock browser, not chrome)
Android - how to extract/backup your phone contact list and browser favorites (stock browser, not chrome) - a modern Samsung smartphone.
Hi, I am grateful for any replies (pls note that we always ...
1
vote
0
answers
212
views
How to implement my own backup agent in android
I know there's the Android class BackupAgent class which allow users to backup and restore only their own apps data. However, I'm looking for a way to take over the Android's default backup and ...
1
vote
0
answers
109
views
Google Drive Back Up Issue over BackUps Folder
I want to upload the local database of my Android Application which includes Realm File, Video Folder, Image Folder. It is similar to WhatsApp APP as i need to upload the data on drive to restore it ...
4
votes
1
answer
2k
views
Why android:fullBackupOnly default value is false?
In https://developer.android.com/guide/topics/manifest/application-element,
android:fullBackupOnly
This attribute indicates whether or not to use
Auto Backup on devices where it is available....
0
votes
1
answer
2k
views
Why Service in not running in Background after remove for recent apps
Why my Service is not running in background when if remove my app from background or remove from recent apps.
I very much confuse between IntentService and Service which one I should prefer.
I am ...
0
votes
1
answer
441
views
Can I restrict my app sharedprefs data to google drive/cloud in android?
I want to restrict my app's privacy data when user backup/restore in other device. Can I set android:allowBackup="false" in manifest file to achieve this?
I am saving unique Id in sharedprefs with ...
0
votes
0
answers
354
views
App crashes with java.lang.UnsatisfiedLinkError for Oreo devices with Xamarin.Android
I'm receiving crash reports in Google Play Console for my app, and the stacktrace is as follows:
java.lang.UnsatisfiedLinkError:
at mono.android.Runtime.register (Native Method)
at ...
1
vote
0
answers
644
views
Google Backup Transport Security
I am trying to use Google Backup Transport. Google transport stores into the user's app folder in their drive account which is a secure location, but there is a warning in their documentation.
...
17
votes
3
answers
2k
views
Android full backup: "file.xml is not in an included path"
I've created backup rules file just like in example https://developer.android.com/guide/topics/data/autobackup:
<?xml version="1.0" encoding="utf-8"?>
<full-backup-content xmlns:android="...
0
votes
1
answer
284
views
Is there a way to backup android library data
I have an requirement where I need to back up shared preferences data of the android library so that if the user reinstalls the application I can still get back the details. I know we have Android ...
1
vote
1
answer
1k
views
BackupAgentHelper: onRestore not getting called
I installed the example BackupRestore from this link.
https://android.googlesource.com/platform/development/+/0b3758ea4e53f9bfd0b112eaa4a7dd7b7f4040f5/samples/BackupRestore?autodive=0%2F%2F%2F%2F%2F%...
5
votes
3
answers
1k
views
JobIntentService : Unable to schedule jobs with other apps - Oreo
I am trying to schedule a job to JobIntentService of another app(2 different processes).
ComponentName componentName = new ComponentName(context.getPackageName(),
"com.anotherapp....