| android Programming Glossary: startvoicerecognitionUsing the Android RecognizerIntent with a bluetooth headset http://stackoverflow.com/questions/14991158/using-the-android-recognizerintent-with-a-bluetooth-headset  mHeadsetBroadcastReceiver  new IntentFilter BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED  Calling startVoiceRecognition does not result in immediate audio connection.  So register for broadcast of audio connection states. This broadcast will.. audio connection.  So register for broadcast of audio connection states. This broadcast will  only be sent if startVoiceRecognition returns true. mContext.registerReceiver mHeadsetBroadcastReceiver  new IntentFilter BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED.. BluetoothHeadset.STATE_CONNECTED   mConnectedHeadset intent.getParcelableExtra BluetoothDevice.EXTRA_DEVICE  Calling startVoiceRecognition always returns false here  that why a count down timer is implemented to call  startVoiceRecognition in the onTick.  mIsCountDownOn.. 
 |