permission for mic in android code example
Example 1: microphone permission android
<uses-permission android:name="android.permission.RECORD_AUDIO" />
Example 2: microphone permission android
...
</application>
<uses-permission android:name="android.permission.RECORD_AUDIO" />
</manifest>