开发者

blackberry alert ringtone via my application

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜