Hi-
I am using the BluetoothSerialPortInfo class to get Bluetooth devices paired with my blackberry. When I tried to print the value of device address for each device, I don't see or get actual Bluetooth address. I am using the following code.
String btAddress = mPortInfo[count].getDeviceAddress().toString();
I actually get [@4d4cd14c from the above code. But the actual Bluetooth address of my device is : 00:21:3c:2d:1F:5c.
If I use javax.bluetooth, I get the actual Bluetooth address. But I want to use BluetoothSerialPortInfo to establish the serial connection to the device. So I want to correctly identify my device based on the Bluetooth address without using the friendly name of the device.
How do I convert the raw address which get from getDeviceAddress() method to the actual Bluetooth address???
Thanks,