Today I noticed that offline speech recognition doesn't work anymore.
It worked before because I was able to use it for my app and I'm completely sure that I was offline and everything was working fine then.
I wanted to test my app today and it couldn't understand what I said no matter how loud I said it.
Then I turned the wifi on and it was working perfectly. I'm using the same phone though, sony xperia L, same OS, Android Jelly Bean 4.2.2. I have no idea what happened. Has Google changed something or what? And it's not just my app, other apps that need speech recognition won't work offline as well. Can someone explain this and tell me if there something I can do to get offline speech recognition again, or at least make it work for my app?
Thanks in advance!
EDIT: i've tested it on xperia z2 now and it has the same problem, so it's not only my phone, i believe there was an update with some bugs from google, what do you think?
is it going to be fixed or do i have to fix it?
i want my app to work offline
EDIT 2: i solved my problem by uninstalling all updates on Google App and getting back its factory version.
Related
I have developed a Ionic app that uses Android Speech Recognition API via a Cordova plug-in. It worked fine a few days back, but one day it stopped working. I did not change any source code. Sometimes it immediately returns me an error: ERROR_NO_MATCH. Sometimes it worked for one second, gave me one or two words and stopped listening abruptly, regardless that I was still talking to it.
I reflected what has happened in recent days that may have caused problem.
Changes to Google speech recognition server? It is not likely. I did not
find anything about it from the web. But a weird thing is: I installed some other simple voice-to-text apps, they all seem to terminate listening prematurely.
Changes to my computer? I have re-imaged my hard drive and reinstalled everything.
Changes to my mobile phone? Maybe some auto update has affected the voice recognition part.
Anyone has the same problem? Any help is appreciated.
Edit 08/09/2016
What I have tried:
Factory reset of my mobile phone
Building the app with different Android API levels
Uninstalling all updates to Google App, and disabling it
However, none worked.
I recently released my app to the Google Play community. The team and myself tested the app on Gingerbread, jellybean, and kitkat. All were either Samsungs or Nexus. Now we have someone getting a crash on a Motorolla Droid Bionic, Android version 4.1.2.
My app required wifi (not Cell data) connection which is not possible with androids emulator. I am in the process of installing android on VirtualBox but I don't know if this will allow me to identify the problem.
Should I be this concerned? This is my first app and I want to make sure it works for everyone? This app is for controlling a home appliance so I feel like we need to make sure that it works, but I'm not sure how to really get accurate test results and error messages.
What do other developers do to emulate accurately specific phones and OS versions?
thanks for any advise and help.
Ask for the "Stack Traces" reported in "Crashes & ANRs" section of your application in Google play Developer Console to have more details about the problem.
I noticed that randomly my phone restarts. I am not sure if this is because of my app (which I recently developed) or because of a Android 4.3 bug with with the Nexus 4. I am terribly sorry if this is the wrong forum. Any advice on how I can exactly pinpoint the issue?
Use your phone for a while without your app? If the problem doesn't occur you can then work on investigating the app.
I'm a fairly new Android developer working on an app that I would like to have speak text that the app supplies. I have found several examples on using the Text to Speech feature on Android phones, such as this one)
and I've been able to get them to work much of the time, but they don't consistently work without problems on the Eclipse Emulator or the HTC phone I use to test. Problems include the speech working sometimes and sometimes not, or the app causing the phone to go to google play to download "SpeechSynthesis Data Installer" even though the phone has already demonstrated the ability to do text to speech and even though the store says that the item is already installed on the phone. I won't go into all the examples of issues but there are several more that I have come across in a few hours.
My question is has anyone put the Text to Speech feature in an app put in the marketplace or on multiple phones and found it to be relatively reliable, simple and straightforward, or is it an unreliable and inconsistent feature no matter how well it is implemented? Thanks.
I'm developing live wallpaper on Android and recently bought a HTC Sensation (android 2.3.3) for development. The problem that I found with this phone is that onOffsetChanged event is not generated at all. I logged calls inside onOffsetChanged method and there is nothing logged on phone, while it works correctly on emulator.
My guess is that HTC Sense 3.0 messed something up (wallpapers downloaded from market doesn't work either) but on the other hand there is HTC Stream live wallpaper delivered with the phone and it seems to have such functionality.
Does anyone know if there is something special that has to be added to manifest or code that enables this functionality on HTC Sensation? Did anyone faced same problem? I'm quite confused since even google doesn't seem to know about such issue :).
Thanks for your help.