Back to project page wizapp.
The source code is released under:
MIT License
If you think the Android project wizapp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.wb.wizapp.ui; //from w ww .j a v a 2 s . c om import android.os.Bundle; import android.webkit.CookieSyncManager; public class RouterWebViewActivity extends BaseActivity { private RouterWebView webview; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); webview = new RouterWebView(this); setContentView(webview); } @Override protected void onResume() { super.onResume(); CookieSyncManager.getInstance().startSync(); } @Override protected void onPause() { super.onPause(); CookieSyncManager.getInstance().stopSync(); } public void load(String url) { webview.loadUrl(url); } public void refresh() { webview.reload(); } }