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
Highlighted
New Developer
Posts: 17
Registered: ‎11-19-2009
My Device: Not Specified

How to play inbuild dtmf tones of blackberry ?

Hi ,

 

I want play a inbuild dtmf tones of blackberry through player for notification purpose .

ex:

        playing dtmf tones for the number 123456.

 

So plz let me know which apis are required to achieve this .

 

 

 

 

 

 

 

 

Thanks in advance .

Regular Contributor
Posts: 55
Registered: ‎08-26-2010
My Device: 8520

Re: How to play inbuild dtmf tones of blackberry ?

You could use javax.microedition.media.Manager

 

there's this static method playTone which let's you play a certain frequency tone for a given time period.

New Developer
Posts: 17
Registered: ‎11-19-2009
My Device: Not Specified

Re: How to play inbuild dtmf tones of blackberry ?

I want to play dtmf tone for each number of the literal .For example 123456 ,

here dtmf tone for 1,2,3,4,5,6 should play .