开发者

BlackBerry - How to detect the bluetooth headset connection event?

开发者 https://www.devze.com 2022-12-13 11:00 出处:网络
I have a bluetooth headset that I paired with my blackberry storm. Whenever I turn on/off the headset, my storm displays the message that the headset is been connected or disconnected and updates the

I have a bluetooth headset that I paired with my blackberry storm. Whenever I turn on/off the headset, my storm displays the message that the headset is been connected or disconnected and updates the bluetooth indicator icon. I would 开发者_如何学Clike to detect that headset connect change event in my application. How do i capture that event change? I know that "Audiolistener" can capture the headset connect event. but I don't know whether it will do for bluetooth headset.

thanks.


BlackBerry Support Community Forums:BlackBerry Development:Java Development:AudioListener:

There is no listener that provides notifications for when a user connects or disconnects a headset.
Mark Sohm
BlackBerry Development Advisor
www.BlackBerryDeveloper.com

0

精彩评论

暂无评论...
验证码 换一张
取 消