2010-11-18 29 views

cevap

0

webview.setWebViewClient (yeni WebViewClient() {

ProgressDialog myDialog;

 public void onReceivedError(WebView view, int errorCode,String description,String failingUrl) { 

Toast.makeText(activity, "Oh no! " + description, 
Toast.LENGTH_SHORT).show(); 
     } 
@Override 
public boolean shouldOverrideUrlLoading(WebView view, String url) { 
activity.setProgress(progress * 1000); 
view.loadUrl(url); 
return true; 
} 

    });