This is a migrated thread and some comments may be shown as answers.

Speech Recognition

3 Answers 44 Views
Google Android
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniel
Top achievements
Rank 1
Daniel asked on 15 Sep 2014, 06:04 PM
Has anyone gotten a speech Recognition plugin to work?

I have tried to use this one: https://github.com/mayurloved/speechrecognizer

But every time I try to fire it off, I get an error "Class not found".

My launch code is:

window.plugins.SpeechRecognizer.getSupportedLanguages(
                            function (e) {
                                console.log("Returned: " + e);
                                alert("Success: " + e);
                            },
                            function (e) {
                                console.log("Error occurred: " + e);
                                alert("Error occurred: " + e);
                            }
                        );

Only the error function fires...

Any help would be most appreciated.

3 Answers, 1 is accepted

Sort by
0
Daniel
Top achievements
Rank 1
answered on 15 Sep 2014, 06:32 PM
I also just tried this one: https://github.com/manueldeveloper/cordova-plugin-speech-recognizer

and had the exact same result.


0
Daniel
Top achievements
Rank 1
answered on 16 Sep 2014, 11:21 AM
I just found a reference in another plugin about LaunchMode
‚Äč
android:launchMode CANNOT be "singleInstance"
It can be eventually "singleTask" (or "standard", "singleTop")


How would i find out what lanuchMode AppBuilder uses?


0
Zdravko
Telerik team
answered on 18 Sep 2014, 02:58 PM
Hello Daniel,

I tried the plugin from here using the code from its documentation and was able to run it and execute some recognition. According to me it is working fine.
You can find the sample app attached to this reply and try it at your side.

One more plugin that you may find interesting is this one, but I haven't test it.
I am sure you can find more on the web and don't limit yourself only with the provided ones.

I hope any of them will help you to achieve your goals.

Regards,
Zdravko
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Google Android
Asked by
Daniel
Top achievements
Rank 1
Answers by
Daniel
Top achievements
Rank 1
Zdravko
Telerik team
Share this question
or