Home > OS >  How to open App info Page of Android System WebView in Android
How to open App info Page of Android System WebView in Android

Time:12-10

My App is crashing when user does not have Android System WebView disabled in Android 10 and Android 11.

So I decided to show a Dialog to user that tells them that the Android System WebView is not enabled and they need to enable it.

In the dialog box I have a Error Text and a button. I want to open this page when user clicks the button.

enter image description here

My Questions are

  1. Is it even possible to open this page from my Activity ?
  2. If yes then how ?

CodePudding user response:

Hi it's possible to open that view using code. This is java version

Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
Uri uri = Uri.fromParts("package", "com.google.android.webview", null);
intent.setData(uri);
startActivity(intent);
  • Related