Please have a look at the bluetoothdemo included with the BlackBerry JDE for an example of registering a BluetoothSerialPortListener. Opening this can result in a prompt for permission from the user. This means that you should ensure that the BlackBerry is able to display a GUI before calling this. You can poll the ApplicationManager.isStartup method to see when the BlackBerry has started up (and can display a GUI).
Mark Sohm BlackBerry Development Advisor
Please refrain from posting new questions in solved threads. Problem solved? Click the Accept As Solution button. Found a bug? Report it using Issue Tracker