Capturing audio from microphone

I am working on a dialog system for android,where a user can interact with the avatar using mic.But I couldn’t get a way to capture audio from the mic.
I am new to Jmonkey,
Thanks for any help!

This is not really JMonkey related at all.
Fortunately there’s what always helps me in seconds