Skip to content

afrussel/Android-Web-to-App

Repository files navigation

Android webview example

This code is working from API 21

Usage

To enable the tint:

mWebView.loadUrl("https://www.google.com/");

Change the url, it also work for local file as well.

mWebView.loadUrl("file:///android_asset/index.html");

It works also to enable the caching for web view. Using LOAD_DEFAULT property, it works in offline mode also.

Credits

Author: Ahmed Faisal

screenshot

About

An example of use caching in android webview

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages