开发者

blackberry Playing Ringtone in application

I was wondering if there is a way for a blackberry application开发者_C百科 to alert the user using the device ringtone.

myrequirement should match like below

1) If the user has the ringtone(phones) set to vibrate, the application will alert the user by vibrating. 2) If the user has the ringtone(phones) as Ringtone A, the application will play RingTone A.

is this possible?


There is a way to use the built in notification profiles. I found the documentation to be a bit confusing so I put together a little example from one of my projects. You can see it here. Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜