随笔分类 - webview
摘要:android.webkit.CookieManager.getInstance().getCookie(url) 部分Android4.4的手机直接卡住了,一直没有返回,原因还不知道。
阅读全文
摘要:public class WebkitCookieProxy extends CookieManager implements CookieJar { private android.webkit.CookieManager mWebkitCookieManager; private static final String TAG = WebkitCookieProxy.class....
阅读全文
摘要:public void showWebViewContent(Context context, String content) { if (!TextUtils.isEmpty(content)) { Matcher matcher = Pattern.compile("]*>([\\s\\S]*)").matcher(content); if (matcher.fin...
阅读全文