开发者

blackberry Playing Ringtone in application

开发者 https://www.devze.com 2023-02-15 07:34 出处:网络
I was wondering if there is a way for a blackberry application开发者_C百科 to alert the user using the device ringtone.

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

精彩评论

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