Code example for JsResult

Methods: confirm

			// This is needed to end the alert state. 
			return true; 
		public boolean onJsPrompt( 
			WebView view,
			String url,
			String message,
			String defaultValue,
			JsPromptResult result)
//			Log.i("@@@ MoSync", "onJsPrompt: " + message); 
			// Store the message in a data object. 
			int urlData = MoSyncThread.getInstance().createDataObject(
				0, // Zero makes the system create a new placeholder. 
				message.getBytes() // Data content.