Android does not support Speech Recognition & Synthesis

Discussion and feedback on Construct 2

Post » Mon May 18, 2015 8:49 pm

I have made a game that uses speech recognition and speech synthesis. Its working on the PC in any browser and all the controls are shown as in the image in the link below: (you have to manually paste it in browser because i am not allowed to post urls)

postimg.org/image/7g0rj27g7/

Using Intel XDK i converted my game into and android .apk file but it does'not work on android.
I used the if, else conditions to make sure that if the speech recognition or synthesis is not supported then the browser should return an error message "This browser does not support Speech recognition and synthesis". And the browser generated it. It means the android browser is not supporting speech functionality in android

*Point: Its not the issue of Construct 2 or Intel Crosswalk. The main issue is that android browsers doesn't support Speech Recognition and Speech synthesis also, as shown in the android captured image below: (you have to manualy paste it in browser because i am not allowed to post urls)

postimg.org/image/vi4cac4dr/ (Detailed view with error in red line)
B
2
Posts: 5
Reputation: 160

Post » Mon May 18, 2015 10:51 pm

What version of Chrome does Crosswalk use?
http://caniuse.com/#feat=speech-synthesis
Image ImageImage
B
170
S
50
G
179
Posts: 8,378
Reputation: 113,425

Post » Mon May 18, 2015 11:12 pm

newt wrote:What version of Chrome does Crosswalk use?
http://caniuse.com/#feat=speech-synthesis


@ibikhan1234
Lowest version is cw7 with chromium 36 and according to the list you should be ok, but I'd go with the latest to be sure - cw12 uses chromium 41
ImageImage
B
26
S
6
G
8
Posts: 774
Reputation: 6,685

Post » Tue May 19, 2015 7:22 am

The problem is not on the PC. It occurs when i am trying to run game on android as i already mentioned.
I installed the apk on my mobile and then opened it. The game tries to use the android native browser. There is no option to select a particular browser for it but it automatically opens in the android's native browser which is unable to play speech.
B
2
Posts: 5
Reputation: 160

Post » Tue May 19, 2015 7:28 am

@Noga
I mentioned that there is no choice to select a particular browser when the game stars. It automatically opens in the android phone's native browser having no navigation controls upon it. I have no choice to open my game in a any other browser.

Can you tell me about the DD (Daily Dose) game? is it made in Construct 2? and does it supports speech recognition or synthesis?
B
2
Posts: 5
Reputation: 160

Post » Tue May 19, 2015 9:59 pm

@ibikhan1234
I found this topic, looks like it there's a problem with it.....

I've always thought Crosswalk is the same as desktop Chrome and it's actually based on Chrome for Android, so according to the table
http://caniuse.com/#feat=speech-synthesis
that API should be supported in the Chromium 42, which equals to the Crosswalk 13 (hopefully soon in XDK), but I'll ask
@imaffett
he should be able to help you better.
ImageImage
B
26
S
6
G
8
Posts: 774
Reputation: 6,685


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests