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.
精彩评论