Code example for BluetoothDevice

Methods: getAddressgetBondStategetName

0
			{ 
 
				BluetoothDevice device = intent 
						.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE); 
 
				if (device.getBondState() != BluetoothDevice.BOND_BONDED) 
				{ 
					tvDevices.append(device.getName() + "��" 
							+ device.getAddress() + "\n"); 
				} 
 
			} 
			else if (BluetoothAdapter.ACTION_DISCOVERY_FINISHED.equals(action)) 
			{ 
				setProgressBarIndeterminateVisibility(false); 
				setTitle("���������豸");				 
			 
				 
			} 
		} 
Stop searching for code, let great code find you!  Add Codota to your java IDE