Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
New Developer
jk
Posts: 9
Registered: ‎07-22-2008
My Device: Not Specified
Accepted Solution

BluetoothSerialPortListener registration

Hello ! How to register impelmentation of BluetoothSerialPortListener interface on device startup ? Thnx

 

Please use plain text.
Administrator
MSohm
Posts: 14,362
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: BluetoothSerialPortListener registration

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
Please use plain text.
New Developer
New Developer
jk
Posts: 9
Registered: ‎07-22-2008
My Device: Not Specified

Re: BluetoothSerialPortListener registration

thnx for quick and helpful answer !
Please use plain text.