record sound and save to mp3 in android

Hi all,
I 'm sorry to trouble with you, I want to know, how to record a sound and save to mp3 in android. because wav file is too large. or There is another way to make sound file smaller?

how should I do?

thank you!

Already been answered, please use the search feature of the site.

When i use this the below code.
savwav.Save(“test”, myAudioClip);

it says … NullReferenceException: Object reference not set to an instance of an object

what i have to do for saving the file . and how i replay it…