04-21-2010 01:26 AM
Hi,
I am developing an application in J2ME, It involves sending MAC address to server.
I am using below code to get the MAC Address of BlackBerry emulator 4.7
I am running MDS service to connect to server
javax.bluetooth.LocalDevice localDevice;
localDevice = LocalDevice.getLocalDevice();
String macAddress= localDevice.getBluetoothAddress();
but it is giving null value.
Please help me on this.
Thanks in advance
Solved! Go to Solution.
04-21-2010 04:42 AM
The Simulator does not simulate a Bluetooth device. If you want to do Bluetooth processing, then you need to buy a board that works in your desktop, or use a real device. I suggest you try your code on a real device.