vwebView open the connection or use the original webView

System default webview in connection open when the page will re-open a new webView

And sometimes we do not need to open a new, as we use cookcice time, open the connection will disappear can not record

WebView webview = new WebView(this);
  webview.setWebViewClient(new WebViewClient() {
      @Override
      public boolean shouldOverrideUrlLoading(WebView view, String url)
      {
        view.loadUrl(url);
        return true;
      }
    });
  setContentView(webview);
  webview.loadUrl([MY URL]);
分类:Mobile 时间:2010-04-03 人气:314
分享到:
blog comments powered by Disqus

相关文章

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 闽ICP备15018612号

processed in 0.035 (s). 13 q(s)