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
New Contributor
zhgjstc
Posts: 2
Registered: ‎11-30-2012
My Carrier: 9000

How to get Sounds List in java

  Dear bodys

                    i want build BBsoft by myself. at first i don't know how to get sounds List.

we always have  "Normal" "Loud" "Medium" "Vibrate Only" "Silent" "Phone Calls Only"

How can i get this in java?     think you very much.

Please use plain text.
Developer
Dionysus
Posts: 152
Registered: ‎07-28-2011
My Carrier: MTN

Re: How to get Sounds List in java

For OS 7.1 you can have a look at the following API doc:

 

http://www.blackberry.com/developers/docs/7.1.0api/net/rim/blackberry/api/profiles/Profiles.html

 

Prior to 7.1 there is no way to query the current profile but you can integrate into the profiles so that the user can select the notifications they want from your application in each of their profiles.

 

I think the notifications demo is a good place to start.

Please use plain text.
New Contributor
zhgjstc
Posts: 2
Registered: ‎11-30-2012
My Carrier: 9000

Re: How to get Sounds List in java

Think you for your replay. think you!

my sell phone is 9000 os5.0. so can you give a os5.0api?:Clap:

Please use plain text.
Developer
Dionysus
Posts: 152
Registered: ‎07-28-2011
My Carrier: MTN

Re: How to get Sounds List in java

There is no API to access the profile info.

 

Like I said in my previous reply, have a look at the notifications demo that comes with the app sample in the BlackBerry SDK.

Please use plain text.