Skip to main content
Inspiring
January 12, 2012
Question

Find the microphone connection...

  • January 12, 2012
  • 1 reply
  • 515 views

I want to find out whether the microphone is connected to the computer or not. If not ..should display a warning message.. How to do that?????

Any help would be appreciated....

This topic has been closed for replies.

1 reply

Inspiring
January 12, 2012

No one....

_spoboyle
Inspiring
January 12, 2012

from the Microphone API

If Microphone.getMicrophone() returns null, either the microphone is in use by another application, or there are no microphones installed on the system. To determine whether any microphones are installed, use Microphones.names.length