We are currently developing an application that needs voice interaction. The app is for the smartglasses Vuzix M300. We have tried their sample app for Speech recognition but it does not work as expected (some words are not always recognized).
After much effort and research, we have been able to install Google app and Google Now launcher to have Google Speech recognition services available in the glasses.
But after developing a very simple application just after calling
speechRecognizer.startListening(speechRecognizerIntent);
we get error "CLIENT_ERROR" on the "onError" event of the speechrecognizer listener.
We have search the whole net searching for this and have debug the application but as the Android SpeechRecognizer when do I get ERROR_CLIENT when starting the voice recognizer? states, there are 7 places where the ERROR_CLIENT is sent to onError but it is not sent from there, it is sent from the InternalListener and internal handler, with the handleMessage beeing MSG_ERROR (all this comes from the SpeechRecognizer.java class from the android.speech package.
So we are stucked and don't know where is this error coming from and why.
I hope anybody can help us.
If you need more information or code of the application (but it is very simple and it seems it has nothing to do with our code) ask for it.
Thanks a lot in advance
Regards.
Related
We are developing an alert app that will automatically send MMS messages in certain emergency situations. We think it will qualify as an alert app exception and not be required to be the default SMS handler when we put in in the Play Store. But we aren't ready for that yet. In the mean time, developing and testing this app is very difficult because we have to make it the default SMS handler to run it. Our app is in no way capable of functioning as the default SMS handler. So, is there any way to get around this requirement while we are developing the app?
If you want to use our SMS gateway, you can use our "test numbers".
Our list of test numbers is:
+61411111111
+61422222222
+61433333333
+61444444444
+14055555555
+14055555666
+447777777777
+447778888888
+8615555555555
You would need to open a free account at clicksend.com and there is no charge for using test numbers. Of course, your test messages just go into /dev/null - maybe that's not what you need.
Don't know if that solves your specific problem, but maybe it's a piece of the puzzle. :shrug:
I can have our mobile dev team chime in if you want more help.
Michael
(Software Development Manager, ClickSend - an SMS Gateway Provider)
I've been fiddling around with Tasker recently and I think it would be cool to be able to pass Google music a string input from the user that Google Music would use to generate a radio station that could be played. I know there's no official api at this point, and I'm even surer I wouldn't know what to do with it were that not the case.
I Can access a bunch of gmusic activities thru the "Secure Settings" Tasker plugin--there's a particularly interesting activity called 'CreateMixActivity,' but I can't find any info on it--and have between playing around with Intents, but don't really know how or where I should start experimenting.
Any input/questions would be greatly appreciated (first post btw)
Chucksef
This is as close as you are gonna get o an API, this is using Python but you are welcome to go through the code and write your a fork using Java/Android.
https://github.com/simon-weber/Unofficial-Google-Music-API
I have been developing an application that uses the recognizerIntent to get voice input. However, since jelly bean was launched, I have not been able to get the actual sound file from my voice input.
In the recognitionListener (http://developer.android.com/reference/android/speech/RecognitionListener.html) there is a method called onBufferReceived. However, there are no promises that this method will be called, and when I implemented it, it never got called. Is there any way to force this method to execute or what is the "best-practice"-approach to gather the sound file that the recognizerIntent analyzes?
It should be possible since both google now can do it with the voice-command "note-to-self", and Google Keep:s voice-notes does the same.
Thanks
I don't think there is a way to force it. It clearly depends on the recognition service implementation. If Google decides to not call onBufferReceived then there is no way to get the actual data that is used. Note that the mentioned Google apps don't use the (public) Intent / Service API to access the speech recognition but seem to use a private API within the apps (the speech recognition might be bundled within their apps).
Hi all I am looking for any API or lines of codes that can guide me how I can record android incoming and outgoing call ?
I read some discussion from Is there any API supported by Android for recording phone call? and http://code.google.com/p/android/issues/detail?id=2117#c226 where they guide its not possible to record android calls due to device limitations etc.I also explore android auto answer app that's on http://code.google.com/p/auto-answer/ but this app also do auto ans by following different option like ringing call duration etc.any one can guide in detail how i can record twoway voice ?how i can detect it call is answer,reject by caller and receiver person ?thanks
I made a thread similar to this, but I want to elaborate.
Essentially I want to make an app that can be started up, run in the background and will receive messages from a server (the server is a linux server up that currently sends out messages with updates on a system I have to know about) and then give a notice to the person about the message and just kinda stay passively in the back unless it's closed down entirely. I am very new to Android and I have a similar function up on the web, but a web app is required. Any suggestions on what I should read first or anyone know a good tutorial of something similar?
Thanks
Start there : http://developer.android.com/guide/topics/fundamentals/services.html
start reading about services , (services are working in background ) ; and after , read about notifications in android :
refer this two links :
tuto services 1
tuto services 2
tuto services 3