Code example for InetSocketAddress

Methods: toString

0
			} 
		} 
	} 
 
	public void socketAvailable(InetSocketAddress obj) {
		Log.e("recorder", "socket available" + obj.toString());
		this.socketAddress = obj;
		showButton(); 
	} 
 
	public void disable() { 
		Log.e("recorder", "disable");
		stop(); 
		camera.stopPreview();
		camera.release();
		camera = null;
		if (socket != null) {
			try { 
				socket.close();
			} catch (IOException e) {
				e.printStackTrace();