article

Amelia@Amazon avatar image
Amelia@Amazon Posted · · Ross@Amazon edited ·

New features in the WebView Update

Summary

From Android 5 release, WebView has been updated to Chromium M37.

This adds the support for the following features:

WebRTC - Open project that provides Real-Time communications capabilities without plugins to the browsers and smart phones.

Details: http://www.webrtc.org/

WebAudio - High-level JavaScript API for processing and synthesizing audio in web applications. Before the HTML5 element, Flash or another plugin was required to break the silence of the web. While audio on the web no longer requires a plugin, the audio tag brings significant limitations for implementing sophisticated games and interactive applications.

Details: http://www.w3.org/TR/webaudio/

WebGL - JavaScript API for rendering interactive 3D computer graphics and 2D graphics within any compatible web browser without the use of plug-ins.

Details: https://www.khronos.org/webgl/

WebComponents - Allows for the creation of reusable widgets or components in web documents and web applications. Web components consist of 4 main elements which can be used separately or all together.

Detail: http://webcomponents.org/

Additional to the above features, WebView adds new PermissionRequest class to allow access to protected device resources like the camera and microphone. Also with WebChromeClient#onShowFileChooser method, you can now launch file chooser to select images or files for an input form field from Android device.

Resolution

From Android 5, the Chromium layer is now updated separately from the OS version and is updatable through Google Play as "Android System WebView" app. This will increase the speed of releases on the enhancements and bug fixes for WebView. As of today(2015/02/20), beta version of Chromium M40 is available for download.

Steps to install WebView Beta version:

Join WebView Beta Channel community on Google+ https://plus.google.com/communities/105434725573080290360 Sign up as beta tester https://play.google.com/apps/testing/com.google.android.webview Install "Android System WebView" from Google Play https://play.google.com/store/apps/details?id=com.google.android.webview

Any Chromium related issues should be reported and can be viewed from the following:

https://code.google.com/p/chromium/issues/entry?template=Webview%20Bugs https://code.google.com/p/chromium/issues/list

Keywords: Chrome, WebView, Chromium, HTML

[KB_0044]

androidlollipop
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Article

Contributors

rossbria contributed to this article brizzlebrazzle contributed to this article