babu
babu

Reputation: 133

Intent to navigate Status screen

By using below intent i can navigate to "about phone" screen

Intent intentOpenBluetoothSettings = new Intent();
intentOpenBluetoothSettings.setAction(Settings.ACTION_DEVICE_INFO_SETTINGS);                                                    
startActivity(intentOpenBluetoothSettings);

But I want to navigate to Status screen, like Settings -- > about phone -- > Status.

How to achieve this programatically using Intent?

I want to navigate here:

enter image description here

Upvotes: 1

Views: 320

Answers (1)

madhu527
madhu527

Reputation: 4782

Use this code to navigate to STATUS information screen - kotlin

verified on SAMSUNG TAB - Version 13

val statusIntent = Intent()
statusIntent.setAction("android.intent.action.MAIN")
statusIntent.setClassName("com.android.settings",
                        "com.android.settings.Settings\$StatusActivity")
startActivity(statusIntent)

Upvotes: 0

Related Questions