Why does my J2ME Bluetooth code hangs after an incoming RFCOMM connection?
问题 All I want to do is send "hello" to the first incoming RFCOMM Bluetooth connection and then exit. My code works on Nokia N73 but not on more modern devices like Nokia E52. In Nokia E52, the application hangs just after: streamConnectionNotifier.acceptAndOpen(); Here is the code: All the code is inside the run() method of my Thread: public class BTTest extends Thread { public void run() { ... } } I first set my bluetooth device discoverable: try { LocalDevice localDevice = LocalDevice