httpweb 线程处理

public class Httpthread extends Thread{ String url; WebView webView; Handler handler; public Httpthread(String url, WebView webView,Handler handler){ this.url=url; this.webView=webView; this.handler=handler; } public void run(){ try { URL httpUrl=new URL(url); t...
android | 2016-04-07 00:34 | 阅读 11161 次 | 评论 0 条

WebView

myweb = (WebView) findViewById(R.id.web);//找不到id时设置Project->Build Automatically, myweb.loadUrl("http://www.baidu.com");
android | 2016-04-02 23:35 | 阅读 10598 次 | 评论 0 条
浏览166496次
最新评论