When i want to load local html file into webview in my android application webview given error like "ERR_ACCESS_DENIED" . When the same code working with while target android version 29. While i was surffing i found that this issue arraises in android 30 with latest changes of android 11 on webview So we need to add some extra setting options to webview After adding these options for webview settings my files are loaded properly.
webSettings.setAllowFileAccess(true);
webSettings.setAllowContentAccess(true);
How to find Android Device UDID or unique ID?
What is the Different Between val and var in Kotlin?
Hide/Disable soft keyboard on Activity launch: Android
How to avoid multiple button click at same time in android?
How do i load image from drawable folder in Jetpack Compose?
Symmetric vs Asymmetric Encryption in Android Server - RRutors
How do I check in SQLite whether a table exists?
What is Application?
What is NetworkOnMainThread Exception?
How to save activity State in Android?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
FCM Not Receiving Notifications in Android - RRutors
How to validate email address in Android with Kotlin?
What is Context?
How to convert milli seconds to hours, minutes and seconds in Android?
How to stop EditText focus at Activity startup in Android?
Fix Play Store Rejection Due to SMS Permission - RRutors
Extract Date and Time from Long Type Variable - RRutors
ERR_ACCESS_DENIED in Android Webview with sdk 30
What are the notifications available in android?
How to Generate signed apk with android studio
Explain Fragment Life Cycle
Emulator: emulator: ERROR: Can't find 'Linux version ' string in kernel image file: Andr
What is Intent? What is the difference between an implicit intent and an explicit intent?
How to get an image resource by it's name in android?
How to Use Deprecated Handler() in Android - RRutors Guide
How to start a new activity on button click
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
Fix Duplicate Files in APK Build.gradle Issue - RRutors
What is ANR in android?
What is the difference between match_parent and fill_parent?
How To Set Text Color Programmatically Android TextView?
How to copy database from assets folder in android using kotlin
How to install/ uninstall apk by command line ADB
Android Studio project R can't find
What are Android Versions available?
Permission denied for window type 2010 in Marshmallow device
Fix Android Emulator Kill Error When Running Your App
How to get a contact image using a phone number in android?
How to convert DP to Pixel and Pixel to Dp?