I am currently playing around with Google’s Voice Recognition API for Android SDK. What I want to know is the URL for their voice recognition. You need a data connection to use the feature, so obviously they are parsing things server-side. Does anyone know this URL?
I am currently playing around with Google’s Voice Recognition API for Android SDK. What
Share
Okay, here’s what I found, building off of this article.
Here is a full TCP dump of the various HTTP and TCP operations that go into a voice search:
It’s a lot to read, but basically what happens in the Android sends voice data over a TCP to
74.125.142.126on port19294(in my case anyway). After that, a POST request is made to74.125.225.176. Shortly thereafter, The Google Server (from the same IP) responds with a list of possible options, seen here as:The two URL’s that seems to be involved are http://www.google.com/m/appreq/vs and
http://www.google.com/m/voice-search.
That seems to be the gist of it. Basic HTTP action (GET/POST) requests. I’m not sure how the port 19294 fits into things, but I think it’s the original transmission of voice data, which is processed and returned through HTTP. I hope this can help anyone who stumbles across the same problem.