I want to whitelist some URLs been used by my device and native apps for sync and updates.
Other than these few URLs, I wish to block all other URLs being accessed by any chat window and browser. I have my device rooted, and have been looking for a common solution which can be accessed by all native applications and browsers.
I have found a solution to override the API "shouldOverrideUrlLoading
" in the class WebView Client, but if there are any applications which do not call this WebViewclient and directly calls native APIs (system/netd
).
I am quite new to the WebView thing, do let me know if anyone has any solutions or suggestions.