Is there a way to tell which version of the webkit software is used in the Android browser on some specific handset?
What would be really great is if there is a URL you can browse to get that information. But any other way would be good too. If you know the webkit version, you know how much html5 suport to expect.
WebKit is used as the rendering engine within Safari and was formerly used by Google's Chrome web browser on Windows, macOS, and Android (before version 4.4 KitKat).
The androidx. webkit library is a static library you can add to your Android application in order to use android. webkit APIs that are not available for older platform versions. Requirements. The minimum sdk version to use this library is 14.
WebView webView = new WebView(getApplicationContext());
String useragent=webView.getSettings().getUserAgentString();
The useragent is the reuslt like:
Mozilla/5.0 (Linux; Android 4.4.2; SM-N900 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/30.0.0.0 Mobile Safari/537.36
On Android 2.3.3, at least, the version of Webkit is reflected in the user agent string.
When I go to WhatsMyUserAgent.com on my Android device with 2.3.3 (Cyanogenmod 7.0.3), I get:
Mozilla/5.0 (Linux; U; Android 2.3.3; en-us; HTC Vision Build/FRF91) AppleWebKit/533.1 (KHTML; like Gecko) Version/4.0 Mobile Safari/533.1
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