Shatazone
Shatazone

Reputation: 2512

Open Status settings page

Does anyone know how to open the Settings>About Phone>Status activity programmatically?

Thanks!enter image description here

Upvotes: 0

Views: 806

Answers (2)

babu
babu

Reputation: 133

By using adb logcat ActivityManager:V *:S this command I got activity name like com.android.settings/.Settings$StatusActivity .Then I created an Intent.

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

Upvotes: 1

Buda Gavril
Buda Gavril

Reputation: 21657

create an intent, set classname/classpath using bellow values and start intent

Intent { act=android.intent.action.MAIN cmp=com.android.settings/.deviceinfo.Status }

Upvotes: 0

Related Questions