Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebView difference in android 4.3 to 4.4 [closed]

I implemented a WebView with images taken from the web.
On Android 4.3 there's no problem.
On Android 4.4 kitkat, the displayed images are too big.
How do I solve that?

like image 410
DevOkAnd Avatar asked Feb 12 '14 10:02

DevOkAnd


2 Answers

Kitkat Behavior changes

https://developer.android.com/about/versions/android-4.4.html

For Webview Please Refer..

https://developer.android.com/guide/webapps/migrating.html

like image 188
Neha Nathani Avatar answered Sep 22 '22 12:09

Neha Nathani


Android 4.4 (API level 19) introduces a new version of WebView that is based on Chromium. This change upgrades WebView performance and standards support for HTML5, CSS3, and JavaScript to match the latest web browsers. Any apps using WebView will inherit these upgrades when running on Android 4.4 and higher.

The current performance of Android webview is so poor. ChromiumWebView gives your application early access to the newest features in Chromium, and removes the variability due to different WebView implementations in different versions of Android.

The new (chromium based) WebView is faster – so far no surprise. But looking at the numbers, the performance has really increased in several areas (like up to 354% for HTML5 Canvas or 358% for some Javascript test). So your WebView content should run way smoother and faster then before Old WebView vs. Chromium backed WebView

like image 35
Dhaval Jivani Avatar answered Sep 22 '22 12:09

Dhaval Jivani