Commit f2f40f22 by HABI SHAIK

resolved

parent 42df940d
...@@ -95,7 +95,7 @@ public class DroidSpeech { ...@@ -95,7 +95,7 @@ public class DroidSpeech {
* Starts the language receiver * Starts the language receiver
*/ */
private void startLanguageReceiver() { private void startLanguageReceiver() {
Intent languageDetailsIntent = RecognizerIntent.getVoiceDetailsIntent(context); Intent languageDetailsIntent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
languageDetailsIntent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES); languageDetailsIntent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
LanguageReceiver languageReceiver = new LanguageReceiver(); LanguageReceiver languageReceiver = new LanguageReceiver();
languageReceiver.setOnLanguageDetailsListener(new OnLanguageDetailsListener() { languageReceiver.setOnLanguageDetailsListener(new OnLanguageDetailsListener() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment