开发者

blackberry alert ringtone via my application

开发者 https://www.devze.com 2023-04-12 17:41 出处:网络
I want to access the default ringtone of the BlackBerry de开发者_Python百科vice via code. My code is given below, and it plays sound, but I want to alert the ring tone, like an incoming call.What shou

I want to access the default ringtone of the BlackBerry de开发者_Python百科vice via code. My code is given below, and it plays sound, but I want to alert the ring tone, like an incoming call. What should I do?

net.rim.device.api.system.Alert.startAudio(tune1, VOLUME);


You can't set the notification up to do that, but you can make is so that your user can set a system alert to play which ever ring tone s/he wants. Have a look at my article on Using the BlackBerry Notifications Manager.

0

精彩评论

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

关注公众号