Code example for BluetoothDevice

Methods: getAddress

	 * @param deviceName name returned from intent of found device 
	 * @param device object representing, essentially a filedescriptor.   
	public FoundDevice(String deviceName, BluetoothDevice device){
		DEVICE_NAME = deviceName;
		DEVICE_MAC = device.getAddress();
		DEVICE = device;
		DEVICE_FOUND_TIME = new Date(); 
	public void setSocket(BluetoothSocket socket){
		this.socket = socket;
	public BluetoothSocket getSocket(){
		return socket;
Connect your IDE to all the code out there  Get Codota for Java