For our Android application, we would like to build our own browser / rendering engine. The most likely candidate for this is Webkit / Chromium . We are looking for something similar to WebView , essentially, but supported by the browser (version) that we control.
Background
Significant parts of our application consist of fragments of a web page embedded in the presentation (served by the application itself). We try to do this as transparent as possible (in terms of visual / user experience). So far, we have used WebView for this, and this works for the most part. Except when this does not happen.
Some phone manufacturers, unfortunately, decided to set up a standard Android browser here and there. In some cases, this violates our application or makes the fact that we embed a web page more visible.
Our idea
We would like to have a component similar to WebView , but where do we control which version of Webkit / Chromium (or some other rendering engine). This does not have to be the latest and greatest version. More importantly, we can make our application run sequentially on any Android device.
Until
Our research has not yet yielded anything useful. We found three dead attempts to port Webkit to the NDK (functions that are not available in the NDK, and therefore application developers, are used for the open Webkit port for Android):
Looking at StackOverflow, we also found a number of similar issues, most of which are resolved by pointing to WebView (we already do this, and this is not good enough)
- Webkit component for Android
- Embed basic WebKit + V8 in my application
- Introducing a new version of WebKit with an Android application
We are currently studying whether Chromium for Android (or parts of it) can turn into a library that our application can use. Has anyone else done this?
Update
After watching the chromeview project on GitHub (accepted answer), we decided that we had better wait until Google released a Chrome-based web browser on future Android devices. The Chromium rendering engine is quite large (~ 40 MB), which does not leave much space for a real application: (
android android-ndk webkit chromium
Christian Klauser May 17 '13 at 7:55 a.m. 2013-05-17 07:55
source share