I have a voice recognition part in my application to capture users voice input.
This is what I do
Intent voiceIntent = new Intent(RecognizerIntent.AC
PackageManager pm = getPackageManager(); boolean micPresent = pm.hasSystemFeature(PackageManager.FEATURE_MICROPHONE);
Android API Reference: hasSystemFeature