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
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

how to simulate microphone on simulator?

Hi,

I am making an application that records sound from microphone. How to test it on simulator?what changes needed to be done in simulator options.Also I want to know that how can I get value of the constants filed like AUDIO_PATH_HANDSFREE returns what int value?is there any definition in aPI??

Rujuta Trivedi
Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to simulate microphone on simulator?

you have to test it on the real device.

i would suggest to use another audio source until the rest of the app is complete.

----------------------------------------------------------
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
Developer
Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Re: how to simulate microphone on simulator?

ok,but how can i know values of each constant.right now I am getting value 1 using getaudiopath() before setting path to handsfree.

Rujuta Trivedi
Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: how to simulate microphone on simulator?

The simulator can easily simulate the microphone for you. The audio coming from the simulated microphone will be the same audio that you PC's microphone is capturing. You simply need to get a simulator where audio capture works OK. For example, the Curve 8900 simulator that somes with JDE v4.6.1.