Code example for Message

Methods: sendToTarget

0
        @Override 
        public void onFormResubmission(WebView view, Message dontResend,
                Message resend) {
            // TODO Auto-generated method stub 
            //super.onFormResubmission(view, dontResend, resend); 
            resend.sendToTarget();
        } 
 
        @Override 
        public boolean shouldOverrideUrlLoading(WebView view, String url) {
            view.loadUrl(url);
            return true; 
        } 
         
        public void handleHistoryChange() { 
            activity.setTitleButtonEnabled("back", mWebView.canGoBack());
            activity.setTitleButtonEnabled("forward", mWebView.canGoForward());
        } 
    }	 
 
    //Handle the back key