Home » Android » android – Open "Backup and reset" in Settings Programmatically

android – Open "Backup and reset" in Settings Programmatically

Posted by: admin June 15, 2020 Leave a comment


I want to open Backup and reset in Android Setting. For example If you want to open Wi-Fi in Android settings you can use this code :

getApplicationContext().startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));

But I found nothing that could help me to open Backup and reset. Has anyone seen any implementations of how to do that?

How to&Answers:

I know this is old, But you can open Backup and Reset with this intent

Intent backupIntent = new Intent(Settings.ACTION_PRIVACY_SETTINGS);


Just Looking at Settings Reference docs, there is NO Direct intent to OPEN the Backup and Reset Settings directly using Intent mechanism!


As for the latest Android Q Beta release, the accepted answer should not be valid anymore.

The Backup feature has now been moved to the System settings group (same as date/hour settings and so on).


This worked for me to open backup and restore programmatically. Tested on S8 and Essential PH-1

Intent intent = new Intent();
intent.setComponent(new ComponentName("com.android.settings", "com.android.settings.Settings$PrivacySettingsActivity"));
if (intent.resolveActivity(context.getPackageManager()) != null) {