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

Native Development

Reply
New Developer
XtremeCheese
Posts: 24
Registered: ‎03-03-2013
My Device: Z10, Q10, Bold 9900, Bold 9700
My Carrier: Rogers

Detecting when a bluetooth device has automatically paired

Is there a signal that is emitted or an event that can be listened to when a bluetooth device that has already been paired with a device in the past reconnects/disconnects to the phone?  I'm looking to trigger events when a device has been connected/disconnected from the phone while the application is running.  Is this possible?

Please use plain text.
Retired
PBernhardt
Posts: 749
Registered: ‎12-16-2008
My Device: BlackBerry Z30
My Carrier: Bell

Re: Detecting when a bluetooth device has automatically paired

Yes, take a look at the bluetooth chat sample: https://github.com/blackberry/Cascades-Samples/tree/master/bluetoothsppchat

 

There are a whole bunch of events that can come in: https://developer.blackberry.com/native/reference/core/bluetooth_libref/topic/btdevice.h_defines.htm...

Paul Bernhardt
Application Development Consultant
BlackBerry
@PBernhardt

Did this answer your question? Please accept this post as the solution.
Found a bug? Report it to the Developer Issue Tracker
Please use plain text.