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...
myweb = (WebView) findViewById(R.id.web);//找不到id时设置Project->Build Automatically,
myweb.loadUrl("http://www.baidu.com");