Code example for WebView: Displaying local web pages

Methods: loadData

0
	 
	/** 
	 * @see com.twitterapime.xauth.ui.OAuthDialogWrapper#loadHTML(java.lang.String) 
	 */ 
	protected void loadHTML(String htmlContent) {
		webView.loadData(htmlContent, "text/html", "utf-8");
	} 
	 
	/** 
	 * @see com.twitterapime.xauth.ui.OAuthDialogWrapper#triggerOnAuthorize(com.twitterapime.xauth.Token) 
	 */ 
	protected void triggerOnAuthorize(Token accessToken) {
		System.setProperty("http.keepAlive", "true"); //workaround for bug on Android prior 2.3 http://goo.gl/9SV1H
		// 
		super.triggerOnAuthorize(accessToken);
	} 
	 
	/** 
	 * @see com.twitterapime.xauth.ui.OAuthDialogWrapper#triggerOnAccessDenied(java.lang.String) 
	 */ 
	protected void triggerOnAccessDenied(String message) {