I have made an midlet which uses the jsr-82 library. In phone it can be installed fine, and the main menu works great, but when I choose some option, for example an option to show my phones Bluetooth-adress, the phone catches an exception 44. Here is an method which shows the phones BT-adress:
public void showAdress()
{
try
{
local = LocalDevice.getLocalDevice();
ownadress = local.getBluetoothAddress();
displayForm.deleteAll();
displayForm.append("Your phones BT-adress " + ownadress +"\n");
}
catch(BluetoothStateException e) { displayForm.append(""+e);
}
}
What is an exception 44, and is there some errors in the code?
It works great on nokia´s own emulator.
The phone I´m using is Sonyericsson p900.

Reply With Quote

