WebView difference in android 4.3 to 4.4

17,575

Solution 1

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

Solution 2

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

Share:
17,575
DevOkAnd
Author by

DevOkAnd

Updated on June 09, 2022

Comments

  • DevOkAnd
    DevOkAnd about 2 years

    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?

  • Dhaval Jivani
    Dhaval Jivani over 10 years
    i have no example code
  • DevOkAnd
    DevOkAnd over 10 years
    How migration from 4.3 to 4.4???
  • Neha Nathani
    Neha Nathani over 10 years
    explained in developer docs in link above.
  • Daniel Roizman
    Daniel Roizman about 10 years
    HUGE improvement in performance with 4.4 over 4.3 . On a Galaxy Nexus with 4.3 installed, my app 'chugged' along - slow refreshes, glitchy scrolling. You can't really debug pre-4.4 because there was no debugger to attach. So, I used a CyanogenMod to update to 4.4 (Google only upgrades phones newer than 18months), hoping to see them same problems but have the Chrome debugger to attach. Unfortunately, it runs just as fast as my Nexus 5, so I can't see what's slowing it down. Huge improvement, just wish Google would allow updates older than 18 months because users would benefit.