efmia's Forum Posts

  • 5 posts
  • and this another response from them:

    I just did a little test to see if the speech recognition engine is available in either Crosswalk 7 (which is based off of Chromium 36) or the Android 4.4 webview (which is based off Chrome 30). The demo app here: and the documentation indicate that you need Chrome 25 or greater.

    However, as you can see from the tests below, the speech recognition library is not present in either of these. This is something that is unique to Chrome desktop and Chrome mobile. It is not, however, available in either the Crosswalk webview or the Android 4.4 webview (and definitely not in the older Android webviews).

    The only way you're going to be able to use your Construct2 media object along with speech recognition is if the Construct2 folks provide the appropriate hooks for that feature as part of their library for Cordova webviews. This is not something that we can enable for you in the XDK, this is something the Construct2 engine needs to do. The most likely scenario is that they would use a Cordova plugin to provide the necessary speech recognition.

    Chrome webview in Android 4.4:

    [attachment=2:1q8cusqy][/attachment:1q8cusqy]

    Chrome webview in Crosswalk 7:

    [attachment=1:1q8cusqy][/attachment:1q8cusqy]

    Chrome Desktop:

    [attachment=0:1q8cusqy][/attachment:1q8cusqy]

    so can you provide this feature in construct 2?

  • I asked in Intel xdk forms and that was their response:

    "I recommend you speak to the Construct2 folks to determine what the requirements are to make the speech recognition work in a webview on a mobile device."

    so any solution available ...

  • speech recognition works on chrome for desktop in construct 2, after i export it to android it not works(not triggered) also i put two event in construct 2 and after exporting to android (Intel xdk) the result was:

    1-the first event was check if the browser support speech recognition, the result was (True) for booth the emulator and my phone

    2-the second event to know if speech recognition actually starts,the result was (False) for booth the emulator and my phone and(True) in Chrome desktop browser

    ...any solution or work around to make speech recognition work

  • 1-i install the windows phone plugin

    2-i convert the files from m4a to wav

    3-i use the Base64EncodeTool

    (i use all things in how to make it work on windows phone 8 article)

    -the c2runtime.js is 2MB (not that big)

    -the clay.io plugin not work

    -i use 9 layers in construct 2

    how to make it work?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi

  • 5 posts