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);
Key Points to remember while develop the Android Application.
How to get complete address from latitude and longitude?
What happens next when the device switches between portrait and landscape?
Fix Android Emulator Kill Error When Running Your App
ERR_ACCESS_DENIED in Android Webview with sdk 30
What is ANR? How to avoid and resolve it?
How to convert DP to Pixel and Pixel to Dp?
How to get screen size (width,height) in Android?
Add Jar/Library Files as Dependency in Android Studio
How to validate email address in Android with Kotlin?
Android Studio project R can't find
How to copy database from assets folder in android using kotlin
What is the Different Between val and var in Kotlin?
FragmentPagerAdapter deprecated, Since API 27.1.0 FragmentPagerAdapter is deprecated.
Fix Duplicate Files in APK Build.gradle Issue - RRutors
What is Context?
Set Activity to Fullscreen Mode in Android - RRutors
Fix Error: Use JsonReader.setLenient(true) for Malformed JSON
What is Android Fragments?
How to get an image resource by it's name in android?
What is "shared preferences" in Android ?
What is Intent? What is the difference between an implicit intent and an explicit intent?
Check List for Generate Signed APK Android
How To Set Text Color Programmatically Android TextView?
What is Android?
FCM Not Receiving Notifications in Android - RRutors
Invoke-customs are only supported starting with android 0 --min-api 26
Open PDF in Google Drive with Intent in Android - RRutors
How do I generate random numbers in Dart?
What is ANR in android?
How to Generate signed apk with android studio
What is Application?
How to Use Deprecated Handler() in Android - RRutors Guide
How do I check in SQLite whether a table exists?
Fix Play Store Rejection Due to SMS Permission - RRutors
Extract Date and Time from Long Type Variable - RRutors
What are the notifications available in android?
Explain Fragment Life Cycle
How to reduce APK package size?
How do i load image from drawable folder in Jetpack Compose?