Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM
Accepted Solution

Turn on/off Email notification like audio alert, vibrating or flashing the LED

Hi Every one,

 

Please help me , i want  to implement  turn on/off functionality of email notification like audio alert, vibrating or flashing the LED from my application . is it possible by API plese help me?

Thanks

Mohd Farhan
Developer
Posts: 16,985
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

yes, but only since 7.1, this kind of limits the usability:
http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/profiles/Profiles.html
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

Thanks Simon to reply me , i want to implement this OS5.0 & above plese suggest me what should i do to implement this functionality any how please

Thanks

Mohd Farhan
Developer
Posts: 16,985
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

there is no API for that before.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

Simon i went through given link by you but there is no any method to set profile(audio alert, vibrating or flashing the LED), I am not getting how it will be implemented please give me example of this.

Thanks

Mohd Farhan
Developer
Posts: 16,985
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/profiles/Profiles.html#get... gives you all profiles, http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/profiles/Profile.html#setA... acivates one.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

Thanks a lot, I am very grateful to you

Thanks

Mohd Farhan
Regular Contributor
Posts: 73
Registered: ‎12-30-2011
My Device: All devices
My Carrier: RIM

Re: Turn on/off Email notification like audio alert, vibrating or flashing the LED

Can i turn off email notification sound during received emails on device by API for OS5 if possible (i can not go with Profile class because my application is for OS 5 & above). Please help  its too urgent for me.

Thanks

Mohd Farhan