Code example for BluetoothAdapter

Methods: getRemoteDevice

0
            svc.onProfileConnectionStateChanged(device, profileId, newState, prevState);
        } 
    } 
 
    protected BluetoothDevice getDevice(byte[] address) {
        return mAdapter.getRemoteDevice(Utils.getAddressStringFromByte(address));
    } 
 
    protected void log(String msg) {
        Log.d(mName, msg);
    } 
}