随笔分类 -  webview

摘要:android.webkit.CookieManager.getInstance().getCookie(url) 部分Android4.4的手机直接卡住了,一直没有返回,原因还不知道。 阅读全文
posted @ 2019-06-19 16:22 yongfengnice 阅读(334) 评论(0) 推荐(0) 编辑
摘要:public class WebkitCookieProxy extends CookieManager implements CookieJar { private android.webkit.CookieManager mWebkitCookieManager; private static final String TAG = WebkitCookieProxy.class.... 阅读全文
posted @ 2019-06-17 17:10 yongfengnice 阅读(933) 评论(0) 推荐(0) 编辑
摘要:public void showWebViewContent(Context context, String content) { if (!TextUtils.isEmpty(content)) { Matcher matcher = Pattern.compile("]*>([\\s\\S]*)").matcher(content); if (matcher.fin... 阅读全文
posted @ 2019-03-27 18:29 yongfengnice 阅读(4553) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示