27

GeckoView for Android

 4 years ago
source link: https://mozilla.github.io/geckoview/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Android offers a built-in WebView, which applications can hook into in order to display web pages within the context of their app. However, Android’s WebView is not really intended for building browsers, and hence, many advanced Web APIs are disabled. Furthermore, it is also a moving target: different phones might have different versions of WebView, all of which your app has to support.

That is where GeckoView comes in. GeckoView is:

  • Full-featured : GeckoView is designed to expose the entire power of the Web to applications, and all that through a straightforward API. Think of it as harnessing the full power of Gecko (the engine that powers Firefox), while its API is WebView-like and easy to use.
  • Suited for apps and browsers : GeckoView is particularly suited for building mobile browsers, but it can be embedded as a web engine component in any kind of app.
  • Self-Contained : Because GeckoView is a standalone library that you bundle with your application, you can be confident that the code you test is the code that will actually run.
  • Standards Compliant : Like Firefox, GeckoView offers excellent support for modern Web standards.

Using GeckoView


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK