Reputation: 2560
I try to figure out how I can just get info about WebView (such as WebKit version and browser engine version) during app execution.
Do you have any ideas?
Upvotes: 0
Views: 377
Reputation: 2947
you can use following code to find the webkit
WebView webView = new WebView(getApplicationContext());
String useragent=webView.getSettings().getUserAgentString();
The user agent will look like this
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
Beside this following link can also help you to see the respective webkit in android versions.
Upvotes: 1