Code example for JsPromptResult

Methods: cancel

0
                } 
            }); 
            dlg.setNegativeButton(android.R.string.cancel,
                new DialogInterface.OnClickListener() {
                    public void onClick(DialogInterface dialog, int which) {
                    res.cancel();
                } 
            }); 
            dlg.create();
            dlg.show();
        } 
        return true; 
    } 
 
    /** 
     * Handle database quota exceeded notification. 
     * 
     * @param url 
     * @param databaseIdentifier 
     * @param currentQuota 
     * @param estimatedSize