Code example for WebView

Methods: reload

0
        reload.setOnClickListener(new OnClickListener() {
 
            @Override 
            public void onClick(View v) {
                // TODO Auto-generated method stub 
                webView.reload();
            } 
        }); 
 
 
    } 
 
 
    @SuppressLint("NewApi") 
	@Override 
    public boolean onKeyDown(int keyCode, KeyEvent event)
    { 
        // TODO Auto-generated method stub 
        if(keyCode == KeyEvent.KEYCODE_BACK){
            finish();
            overridePendingTransition(R.anim.push_left_in,R.anim.push_left_out);