开发者

BlackBerry - How to detect the bluetooth headset connection event?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜