Android Question Resize or Hide Google VR Speak Label

Startup

Active Member
Licensed User
Longtime User
Is it possible to resize, hide, move, replace or not display the Google Speak Label when doing Voice Recognition? It takes up 1/2 of the screen on a Samsung Note 3 and also dims the rest of the screen when displayed.
 

canalrun

Well-Known Member
Licensed User
Longtime User
What a coincidence!

This is exactly what I'm looking at right now. I also wanted to change the minimum delay time which detects end of speech. I found the intents in other forum posts, but I also saw that they don't seem to work. I can confirm that they don't seem to do anything.

My solution is to use the AudioRecorder 2.1 from XverhelstX (https://www.b4x.com/android/forum/threads/audiorecorder-library-v1-00.8509/) and Google voice recognition (https://www.b4x.com/android/forum/threads/google-voice-recognition-api.37632/).

I'm pretty sure HTTPUtils will be used. I am also not sure how to attach and upload a file. I think I have done something like that before, but I have to dig it up.

With the AudioRecorder, you can record audio to a file with no UI elements visible. What I will probably do is make my own panel visible that includes a Stop button.

Barry.
 
Upvote 0

Startup

Active Member
Licensed User
Longtime User
What a coincidence!

This is exactly what I'm looking at right now. I also wanted to change the minimum delay time which detects end of speech. I found the intents in other forum posts, but I also saw that they don't seem to work. I can confirm that they don't seem to do anything.

My solution is to use the AudioRecorder 2.1 from XverhelstX (https://www.b4x.com/android/forum/threads/audiorecorder-library-v1-00.8509/) and Google voice recognition (https://www.b4x.com/android/forum/threads/google-voice-recognition-api.37632/).

I'm pretty sure HTTPUtils will be used. I am also not sure how to attach and upload a file. I think I have done something like that before, but I have to dig it up.

With the AudioRecorder, you can record audio to a file with no UI elements visible. What I will probably do is make my own panel visible that includes a Stop button.

Barry.
Thanks Barry!! but The second link above leads me to 404 error " The requested URL /speech-api/v1/recognize was not found on this server"
 
Upvote 0

canalrun

Well-Known Member
Licensed User
Longtime User
Strange…
Both links work for me.

The second link points to short thread:
Google voice recognition API, Discussion in 'Questions' started by grafsoft, Feb 9, 2014.

You might be able to use search to find it, or maybe if you try again the link will work.

I'm also looking at using the Microsoft Bing Voice Recognition API. I seem to remember something about the Google voice recognition engine now requiring some User Agent information, that could easily be spoofed, but might cause trouble.

The Bing engine is free for 5000 uses per month:
https://datamarket.azure.com/dataset/bing/speechrecognition

Barry.
 
Upvote 0

Startup

Active Member
Licensed User
Longtime User
Strange…
Both links work for me.

The second link points to short thread:
Google voice recognition API, Discussion in 'Questions' started by grafsoft, Feb 9, 2014.

You might be able to use search to find it, or maybe if you try again the link will work.

I'm also looking at using the Microsoft Bing Voice Recognition API. I seem to remember something about the Google voice recognition engine now requiring some User Agent information, that could easily be spoofed, but might cause trouble.

The Bing engine is free for 5000 uses per month:
https://datamarket.azure.com/dataset/bing/speechrecognition

Barry.
 
Upvote 0

Startup

Active Member
Licensed User
Longtime User
Your links work it's the link in Graftsoft's post that doesn't work for me. I'll be interested to see what you figure out with the bing engine etc. Seems to me there would be a lot of developers who would like a solution to this. Thanks!
 
Upvote 0
Top