Android 4.4 gives apps vastly better Web technology
Apps that draw upon the browser engine now have modern options like video chat and 3D graphics in Google's new KitKat release of Android.
Stephen Shanklandprincipal writer
Stephen Shankland has been a reporter at CNET since 1998 and writes about processors, digital photography, AI, quantum computing, computer science, materials science, supercomputers, drones, browsers, 3D printing, USB, and new computing technology in general. He has a soft spot in his heart for standards groups and I/O interfaces. His first big scoop was about radioactive cat poop.
Expertiseprocessors, semiconductors, web browsers, quantum computing, supercomputers, AI, 3D printing, drones, computer science, physics, programming, materials science, USB, UWB, Android, digital photography, scienceCredentials
I've been covering the technology industry for 24 years and was a science writer for five years before that. I've got deep expertise in microprocessors, digital photography, computer hardware and software, internet standards, web technology, and other dee
Chrome for Android has been available for more than a year, but the improvements it offered over the operating system's more basic browser weren't available to developers who wanted to draw upon the browser's abilities for their own native apps.
With the KitKat release of Android, Google updated a programming interface called WebView so it now employs Chrome instead of the earlier WebKit-based browser. That enables apps with many modern browser features such as WebRTC for real time audio and video chat, WebGL for accelerated 2D and 3D graphics, and a full-screen option.
Many apps are written for Android and iOS using those operating systems' native programming interfaces. But for programmers who need to support many devices, programming with Web standards brings cross-platform benefits. The operating systems each include a built-in browser engine that lets programmers rely on Web standards for many tasks such as arranging text fields and buttons on the screen. With this approach, apps also can reach other mobile OSes such as Windows Phone, Ubuntu Touch, Firefox OS, or Tizen more easily via those apps' browsers.
KitKat's WebView is based on Chrome 30, according to Google's FAQ on the matter. That's also the currently shipping stable version of Chrome.
Improving the Web-app abilities of native apps also helps Google drive its long-term vision of improving the Web as a programming foundation. The more programmers can do and the faster the apps run, the more likely they are to use the Web standards. That helps bring about a browser-based future such as what's front and center on Chrome OS devices.
One issue is the pace of new improvements. When Google introduced Chrome, it also introduced a very rapid update cycle for the browser that brought new features to the Web relatively quickly. The Chrome-based WebView interface in Android, though, will only be updated with Android releases.
That will mean a longer wait before developers can take advantage of the latest shiny new Web standard in their Android apps. However, since this is a service used by operating system apps, some stability is probably appropriate.
Google implied that a faster develop process is possible in its FAQ. "WebView will continue to be tied to releases of the Android platform for the time being. However, sharing code with Chrome for Android will make it easier to keep the WebView up to date," the company said.
The new Chrome-based Web view obviously is available only in Android 4.4, aka KitKat.
Firefox developer Mozilla has a similar project called GeckoView. It can be embedded directly into apps, and it works on older versions of Android including Android 2.3 aka Gingerbread.
Another feature developers might be interested in: the Chrome-based WebView enables use of Chrome's debugging tools.