Speech Recognition

4 posts, 0 answers
  1. Daniel
    Daniel avatar
    15 posts
    Member since:
    Jul 2013

    Posted 15 Sep 2014 Link to this post

    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.
  2. Daniel
    Daniel avatar
    15 posts
    Member since:
    Jul 2013

    Posted 15 Sep 2014 in reply to Daniel Link to this post

    I also just tried this one: https://github.com/manueldeveloper/cordova-plugin-speech-recognizer

    and had the exact same result.


  3. Daniel
    Daniel avatar
    15 posts
    Member since:
    Jul 2013

    Posted 16 Sep 2014 Link to this post

    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?


  4. Zdravko
    Admin
    Zdravko avatar
    657 posts

    Posted 18 Sep 2014 Link to this post

    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.

     
Back to Top