Code example for ActionBar

Methods: setTitle

0
	@Override 
	public void onStatusUpdate(String status) {
		ActionBar ab = getActionBar();
		status = status.replace("load average", "load");
		status = status.replace("users", "u");
		ab.setTitle(status.substring(status.indexOf("up")));
	} 
 
	@Override 
	public void onConnectionLost() { 
 
	} 
 
	@Override 
	public void onAppFound() { 
		runOnUiThread(new Runnable() {
			@Override 
			public void run() { 
				webView.loadUrl(piUrl);
			} 
		});