Random Thoughts – Randosity!

Google Android: How to fix Speech to Text “Couldn’t Connect” error

Posted in Android by commorancy on April 3, 2012

While this isn’t an overly common problem that I’ve found with Android, it is a problem that I have run into that has just baffled me.. until now.  Note, I am running Android 2.2 on my LG Optimus. To use the speech to text functionality (specifically voice search or voice keyboard input), you are required to download a package onto Android initially.  After downloading, I thought that I would be able to use this functionality all of the time. Let’s explore why this isn’t true.

Text to Speech Input Troubles

On the Android Keyboard (that is, the non-Swype keyboard input), there is a small microphone symbol.  Why this isn’t on the Swype keyboard is anyone’s guess?  If you click the little microphone, the feature activates and allows you to speak your text.  The phone is then supposed to convert your speech into text.  This is particularly handy while driving. Unfortunately, most of the time I always seemed to see the error ‘Couldn’t Connect’ when attempting using this functionality.  After all, I had downloaded the necessary packages.  At first I thought it had something to do with the microphone.  So, I plugged in different headsets and different bluetooth devices, but it still only randomly works.  Sometimes it works perfectly and other times not.  I also tried restarting my phone thinking there was some kind of service that was not working properly.  No luck with any of this.  For a while, I had given up on even using it.  However, I finally decided to get to the bottom of this issue.

This would seem to be a very handy feature while in the car.  And, it is, when it works.  In my car, however, most of the time it doesn’t work.  I couldn’t figure this one out at all. I kept thinking how lame it is that the one feature you absolutely need while driving is Speech to Text.  Yet, it is the single feature that is the most unreliable.  However, today I have finally realized why this functionality only intermittently works. It requires the Internet to function.

The Internet?

Why would this service need the internet?  Apparently, whatever data was downloaded only enables the feature, but it doesn’t actually do the speech to text conversion in the phone.  Apparently, the audio input is sent off to one of Google’s servers on the Internet (can you say, “Privacy Issue”) to be processed and the text sent back to the phone after conversion.  The phone doesn’t actually do the conversion.

My Rant

While I understand the audio processing needed to decode an audio file may not be capable within the phone (although, Siri seems to do a great job offline in the iPhone), the phone should at least have some offline capabilities.  However, the error message here is just absolutely stupid.  It doesn’t explain anything.  If the Internet is not available and this service requires it, the phone should pop up a message that either explains that no Internet is available or it should simply remove that functionality from the keyboard (grey it out) until the Internet is available.  Why try to allow use of this functionality when the Internet is not available?  This is both a confusing and stupid design.  Google, you need to fix this design fast.

So, you’re probably asking why it periodically worked in my car?  First, my phone is not Internet enabled.  Second, I refuse to pay $80 a month for a 3G data plan that’s half the speed of my cable service and offers half or less the amount of data at twice the price.  Instead, I pay for an ‘unlimited’ MiFi device that I don’t always turn on in my car.  Sometimes it’s on, sometimes it isn’t.  That explains why this functionality sometimes works and sometimes not.

I use the MiFi specifically because it works with all of my devices and is not locked to only one device.  It allows for more data throughput, due to the plan rate. It is also a non-contract prepaid service, so I don’t have to worry about being stuck in a hugely long contract.  If something better comes along, I just stop payment and walk away with no penalties.  Specifically, I use Virgin Mobile’s MiFi that is actually using the Sprint 3G Network. I digress.

How To Fix

If you’ve been searching all over the Internet trying to figure out why this functionality only sparsely works and how to fix it, this feature requires the Internet.  If your phone is not 24/7 Internet capable and you use WiFi for connectivity in select places, like myself, you will run into this problem when trying to use ‘Speech to Text’ from the Android keyboard while there is no Internet connectivity.  To fix this issue, you either need to subscribe to a phone dataplan so you have ‘Always On’ Internet service or carry a MiFi device around with you and turn it on when you want to use Speech to Text.  A hassle yes, but complain to Google as they are the ones that designed it to require the use of a Google server to decode the audio.

So, there you have it.  Problem solved, mostly.  At least, it’s solved for Android 2.2.  If your have a later version of Android, your mileage may vary.

[UPDATE: 2012-05-04]

My bad.  It appears that Siri does, in fact, require the Internet for Speech to Text conversion just like Android.  So, I guess this article applies to the iPhone as well.

42 Responses

Subscribe to comments with RSS.

  1. mehong said, on October 6, 2016 at 8:49 pm

    awesome post!

    • Ben said, on October 8, 2016 at 2:09 am

      I realize this is an old post but I was trying to figure this out myself using a new lg g4 that I could not speech to text unless I used wifi or data but yet I owned an htc one x and an htc one m8 and both could speech to text without any data or wifi, it worked flawless so I was and still am very disappointed that I can’t do the same on my newest phone.

      • commorancy said, on October 19, 2016 at 2:53 am

        Hi Ben,

        Some of it may be to do with the keyboards installed on your device. Apparently, some keyboards have more speech-to-text capabilities than others. It’s possible the HTC shipped with an HTC custom keyboard that didn’t require WiFi/Data plans. However, many Android devices ship with the standard Google keyboard which does. If you still have access to your old device, you might check under preferences to see which keyboard it is using… then compare that to your LG G4 and see what keyboards it supports.

        Good Luck.


All comments are encouraged under the following rules: Comments will not be posted that contain personal attacks. Personal attacks only serve to degrade your comment, make you seem like a troll, weaken your stance and undermine your points. Please choose your words carefully. Thank you for contributing!

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: