Is is possible to override Android WebView to use custom Accept-Language header?
The current implementation of WebView
already allows you to add headers using the following syntax:
Map<String, String> headers = new HashMap<String, String>();
headers.put("Accept-Language", "fr_fr");
mWebView.loadUrl("http://developer.android.com", headers);
See WebView.loadUrl()
for more information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With