Code example for WebView: Displaying web pages

Methods: clearCachegetTitleloadUrl

0
			 
			return true; 
		case 3:  
			WebView localWebView = null;			
			localWebView = getGameClientWebView();
			String str = localWebView.getTitle();
			localWebView.clearCache(true);
			clearApplicationCache(null); 
			android.webkit.CookieManager.getInstance().removeAllCookie();
			localWebView.loadUrl("file:///android_asset/build/start.html");
		} 
		return super.onOptionsItemSelected(item);
	} 
	 
	private void clearApplicationCache(java.io.File dir){
        if(dir==null)
            dir = getCacheDir();
        else; 
        if(dir==null)
            return; 
Contextual code suggestions in your IDE  Get Codota for Java