Skip to content

A lightweight and high-performance hybrid WebView framework library for Android

License

Notifications You must be signed in to change notification settings

jbr-madgamingdev/MGDH5WebLibrary

Repository files navigation

MGD H5 WebLibrary SDK : A Lightweight And High-performance H5 WebView Framework for Android

license PRs Welcome

MGD H5 WebLibrary SDK is a lightweight and high-performance Hybrid framework developed originaly by Tencent team, which is intended to speed up the first screen of websites working on Android and iOS platform. Not only does MGD H5 WebLibrary SDK supports the static or dynamic websites which are rendered by server, but it is also compatible with web offline resource perfectly.

MGD H5 WebLibrary SDK uses custom url connection instead of original network connection to request the index html, so it can request resource in advance or parallel to avoid waiting for the view initialization. In this parallel case, MGD H5 WebLibrary SDK can read and render partial data by WebKit or Blink kernel without spending too much time waiting for the end of data stream.

MGD H5 WebLibrary SDK can cache html cleverly according to MGD Specification obeyed by client and server. MGD H5 WebLibrary SDK Specification specify template and data by inserting different comment anchor, templates are bigger parts of html which stay the same or changed rarely , in contradiction data, which is the smaller and constantly change part of html. According to this, MGD H5 WebLibrary SDK request less data by incremental updating templates and data, the websites are faster and feel more like native application. In conclusion, MGD H5 WebLibrary SDK effectively enhance the user experience and increase click rate, retention rate and other indicators.

MGDWeb is called for short in project.

Before and After Using MGD H5 Web SDK

Pic 1: Before Using MGDWeb Pic 2: After Using MGDWeb
default mode MGDWeb mode

Getting started

Getting started with Android

Demo Downloads

  1. Here are the latest sample demo for Android.

Support

Any problem?

  1. Learn more from the following sample.
    Android sample

  2. Read the following source code
    Android source code

Contributing

For more information about contributing issues or pull requests, see our MGD Contributing Guide.

License

MGDWeb is under the BSD license. See the LICENSE file for details.

The End

MGD's mission is MAKING WEB MUCH BETTER!

Thank you for reading ~

About

A lightweight and high-performance hybrid WebView framework library for Android

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages