Code example for JsPromptResult

Methods: cancel

0
                    }   
           
                })   
                .setNeutralButton("È¡Ïû", new OnClickListener() {  
                    public void onClick(DialogInterface dialog, int which) {  
                        result.cancel();  
                    }   
                }) 
                ;   
   
        // ÆÁ±ÎkeycodeµÈÓÚ84Ö®ÀàµÄ°´¼ü£¬±ÜÃâ°´¼üºóµ¼Ö¶Ի°¿òÏûÏ¢¶øÒ³ÃæÎÞ·¨ÔÙµ¯³ö¶Ô»°¿òµÄÎÊÌâ  £¬»áÎÞ·¨ÔÙµ÷³ö 
        /*builder.setOnKeyListener(new OnKeyListener() {   
            public boolean onKey(DialogInterface dialog, int keyCode,KeyEvent event) { 
                Log.v("onJsPrompt", "keyCode==" + keyCode + "event="+ event);   
                return true;   
            }   
        });*/ 
         
 
   
        // ½ûÖ¹ÏìÓ¦°´back¼üµÄʼþ,±ÜÃâÎÞ·¨ÔÙµ÷³ö