07-10-2013 02:07 AM - edited 07-11-2013 12:43 AM
I'm currently porting platform-specific codes of my Cocos2D-X game to BB10 that was previously built only for Android and there's one part in my game that uses android.media.MediaRecorder through JNI to detect the input sound level from microphone so it'll invoke something in my game once the sound level reaches a certain point.
I used this code to achieve it in android: https://code.google.com/p/android-labs/source/brow
How to do the same thing in BB10? Which part of the API to use?
Here is a reference to android.media.MediaRecorder: http://developer.android.com/reference/android/med
07-14-2013 04:48 PM
Checkout the link , is a example of recording from mic
here is the api reference for audio