Code example for InetAddress

Methods: getHostAddress

0
		} 
	} 
 
	@Override 
	public void onPiFoundAtAddress(InetAddress addr) {
		piUrl = "http://" + addr.getHostAddress() + "/";
		webView.loadUrl("file:///android_asset/connected.html");
		piup = new PiUptimeTask(this);
		piup.doInBackground(addr);
	} 
 
	@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() {