Nokia Bluetooth FAQ (http://www.forum.nokia.com/main/1,65...0,00.html#MIDP) says "There are two options. By using the Series 60 MIDP Concept emulator v0.3, you can execute two emulators on the same PC and simulate Bluetooth traffic between them...." I have installed "Nokia Developer's Suite for J2ME(TM) 2.0 (2.6.2003)" and using "Series 60 MIDP Concept SDK Beta 0.3, Nokia edition" to run my MIDlet.. The Code is
....
....
try {
LocalDevice ldevice = LocalDevice.getLocalDevice();
if(!ldevice.setDiscoverable(DiscoveryAgent.GIAC)) {
form.append("Failed to change to the discoverable mode");
return;
}
....
....
} catch .....
I am getting "Failed to change to the discoverable mode" message everytime while running the program in Emulator. Is the problem with code or I have to use some other emulator?