This is my first time I'm asking question on stack overflow, so sorry if my question isn't clear, but I'll try my best. This question is for android developers. So I'm trying to create a system that prevents the user from opening web pages on the phone, but ze can still install apps. The purpose is for kids that spend too much time browsing, or people that don't want to watch cat videos (religion reasons, don't ask). Anyway, I'm doing it by modifying the ROM, and I have a problem. Of course I removed all the web browsers, but some apps that are not officially browsers contains a simple browser that uses Android System WebView (for example, outlook, Moovit). I want to some how block access to the WebView, but I saw it's complicated. I tried simply disable the WebView, but than i saw that i can't connect to Gmail and outlook at all, because the login page needs the WebView. I think that the solution is to modify the WebView and create a whitelist, so only sites like Gmail and outlook will open, but others will just show a blank page. The problem is that I don't know how to do that. Can anyone help? Thanks very much
Modify android WebView and create whitelist
51 Views Asked by admiau8 At
1
There are 1 best solutions below
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in ANDROID-WEBVIEW
- How do I correctly fill in a webpage form from an android app?
- Asset file not being included on older versions of Android
- WebView Automation Android - Capture Steps performed by the user & Repeat it automatically
- Null Pointer exception when using progressbar with webview
- Switch between native activities to web view activity from Espresso
- Issue with calling JavaScript interface function in Android WebView
- Resource-id is not getting displayed in appium inspector
- Current Location on the react and android webview is working in Android Studio but on the android app
- Android: How to disable permission popup from webview and show a native permission dialog
- Android WebView Triggers Double Requests for a One-Time Use Download Link
- Android WebView can't load web page, and returns white screen
- Can I build my Vue project to run android WebView?
- Cookie manager is not deleting the cookies or expire them
- Jetpack Compose WebView: Softkeyboard Enter Key behaves differently based on number of input fields
- Navigate back from Chrome custom tabs
Related Questions in IPTABLES
- iptables put all forwarding rules in prerouting
- Docker ignores iptable rules when using "-p <port>:<port>"
- debian 8 iptables-persistent
- delete all rules from iptables
- Iptables locking me out of SSH
- Iptables block all ports excet the port 53 (udp,,tcp)
- iptables-restore command failed in iptables v1.4.16.2
- PHP, IPTables, and Request to Flask
- Corresponding rules in MacOS for this Iptables rules
- Node Express Application redirect port 443 requests to port 3000 on hostmonster
- Block external access to docker containers
- Fail2Ban not blocking failed postfix login under plesk
- Shell script to read a file
- Bash Script Command Not Executing
- iptables: forward a single IP/Port to one interface, everything else to another
Related Questions in WHITELIST
- JSOUP - How to get list of disallowed tags found in html?
- Not able to navigate to certain URL in cordova
- using ionic framework,local image display perfectly in chrome but not in my android phone
- passing string as a condition of a method in ruby
- Why AccessController is not blocking the non-privileged access
- User authentication for connecting to robomongo
- Blocked requests on Openshift?
- Is it possible to be blacklisted by having various friendly "From" names in Emails?
- What is the best way to prevent visitors from accessing website in development?
- SafeHtml with BASIC whiteListType fails on link with rel=nofollow
- phonegap : Sever side link for internal html file...?
- AJAX failing in Android using Cordova
- Trying to add a conditional to a function, and receiving an error on execution
- cordova unable to open fileURL returned by camera plugin after application restarted
- Protecting websites from outdated browsers and plugins via a whitelist/blacklist combination?
Related Questions in ROM
- Can't flash stock rom - cache - partition table issue
- Modify android WebView and create whitelist
- Having issue with dirty flash
- Facing simcard/network connection issues after flashing AOSP 14 onto Pixel 7a
- Sending image to rom memory stu-540 via webHid api
- How to go into fastboot in realme device?
- where to put files not cloned by git in a repo?
- How can I store data code for LONG time 100-200 years
- 32 bits in single ROM address in Logisim Evolution
- Installing an Android OTA update without an SD card
- how to increase the screen recording time in a custom rom?
- Why I get permission denied when trying to read ROM from a device in sysfs?
- how can i fix "add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead."?
- Specify the memory address where a single instruction in c will be assembled
- System UI keeps stopping error on lock screen
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You're going about it the wrong way. If you want to block all but a whitelist of websites, install a Linux firewall on the device. Then you don't need to modify every component- if the OS blocks the site, nothing can reach it.