Can someone tell me how to open using data from Android settings from my application? Iām not right now, what intention should I call.
It works well for using the code below in my project:
Intent intent = new Intent(Intent.ACTION_MAIN); intent.setComponent(new ComponentName("com.android.settings", "com.android.settings.Settings$DataUsageSummaryActivity")); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent);
And you can see the package information from here: https://github.com/CyanogenMod/android_packages_apps_Settings/blob/cm-12.0/AndroidManifest.xml
Here are the Android intentions and find ACTION_MANAGE_NETWORK_USAGE Intent.
Also maybe this link will help you.