Code example for BluetoothDevice

Methods: getAddress

0
	 * @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;
	} 
}