Code example for BluetoothAdapter

Methods: getAddress

0
		mBtAdapter = BluetoothAdapter.getDefaultAdapter();
		mServiceUuid = serviceUuid;
	} 
 
	public String getReference() {
		return "ndef+bluetooth://" + mBtAdapter.getAddress() + "/" + mServiceUuid;
	} 
 
	/** 
	 * Starts the listening service 
	 */ 
	public void start() { 
		if (mAcceptThread != null)
			return; 
 
		mAcceptThread = new AcceptThread();
		mAcceptThread.start();
	} 
 
	public void stop() { 
		if (mAcceptThread != null) {