yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] CaptainCTAF:
Utter! permanent voice recognition enable/disable on charge or car dock

Hello! First off, I would like to say that I'm finding Utter! to be an amazing application despite still being in BETA and I'm ready to throw some $$ at this once it goes to production officially. The potential for this is brimming at the seams (would love to automate my home with it Star Trek style)!

In any event, I'm loving the permanent voice recognition feature but as it's been stated (and by my own discovery), this tends to eat through the battery at a fair pace.

My questions are thus:

A) Are there any plans to expand options on the permanent voice recognition to enable/disable the feature when the phone is charging? Or is put into a car dock?

B) If there aren't plans to add this into Utter! itself, is there a way to enable/disable the permanent voice recognition externally? I've seen mention of the Tasker application for various automation tasks (I have no experience with it other than a high level understanding). With Tasker integration, is this a method I could use to perform this task? If not, are there other methods that could be used?

Thank you!
[Android Apps and Games] GLDavis:
Check out this link. http://xdaforums.com/showpost.php?p=42700913&postcount=4570

One of the last things mentioned by Ben is his work on the Tasker Plugin which might help to simplify this process. Worth a look and maybe even trying it out as the user SMAR pointed out.

---------- Post added at 07:46 AM ---------- Previous post was at 07:39 AM ----------

Just say something like "search google for home depot" or "search google for Italian restaurants" or "search google for restaurants" are all good examples. You could replace google with Bing or whatever engine you wish to use.

** As long as you have Google location services enabled on your phone, your search will find what you ask for nearest to your location **
[Android Apps and Games] rocketwiz:
Google search - 2 name cities

Wow - this app has progressed a lot since I last looked at it - permanent recognition is great and I'm coming to grips with tasker integration. It still seems to have a search issue with cities with 2 names - if I ask for the time in Hong Kong the recognition works fine but I get the time in Hong in Denmark. Using google voice search gives the correct result though. Same with say New York - am I doing something wrong here?
[Android Apps and Games] Futur Innovations:
One problem that I have noticed, is that I couldn't figure out what the voice was saying at the end of the "about" speech on the wifi tab. I might suggest making a toast message (or some kind of temporary text) that shows what it is saying. Make each toast a sentence of what it is saying (or something along those lines) that way if I misunderstand the voice, then I can visually see what was supposed to have been said. Just a thought :)
[Android Apps and Games] mistermentality:
Getting constant crash on stock but rooted Optimus 3D running gingerbread with latest nutter.

If I say "android system turn wifi on" it always says it has detected both on and off in the sentence, says it assumes I meant to say on and then force closes.

If I say "android system wifi on" it says the command zz was not detected" and also closes.

If I press the button to switch wifi on it also force closes.

Not sure why but it will not do anything with the wifi. Yet if I say the commands in the raw section it shows they are recognised.

Dave
[Android Apps and Games] jonas2295:
No problem on the one x :)

Smooth and no crashes
[Android Apps and Games] mistermentality:
Rebooted and turned wifi on myself to at least test wifi off button but pressing that makes it force close immediately so for whatever reason the wifi cannot be turned on or off either vocally on my phone with nutter.

It recognises my commands fine in raw mode and yet says things like "detected on and off" if I say same thing to turn wifi on as if the input data raw receives is different to the part that processes commands?

Dave
[Android Apps and Games] brandall:
Thanks for letting me know - would you be able to get me a log? I can't replicate...
[Android Apps and Games] 99problemz:
Same here with the wifi. I tap to speak and get the error saying wifi string not detected. But I can successfully enable by pressing the on and off.
[Android Apps and Games] D_one:
In regards to conversation: id prefer a faster more logical interaction. For example:

You: set alarm for 8am this week.

Utter!: your alarm has been set Monday (date) to Sunday (date) at 8am. Is this correct?

You: no (if yes, no more discussion or "confirmed " instead of "just do it or person")

Utter!: I did not set your alarm.

You:set a loud alarm at 8 am Monday to friday this week.

Utter!: a loud alarm has been set Monday (date) to friday (date) at 8am. Is this correct?

You:yes

Utter!: alarm set (or no response after confirmation, or "confirmed")

You:test alarm

Utter!: you have two alarms set, Monday (date) to friday (date) at 8am and repeating sundays at 10am. Which one would you like to hear?

You: Monday to friday.

Utter: this is the alarm set for Monday (date) to friday (date) at 8am. (Plays alarm).

You: ok

Utter!: stops playing.

Basically, simple yes/ no confirmations can work well.

Cheers! I look forward to development and implementation.
[Android Apps and Games] mistermentality:
I'm not on pc so can't post a formatted log entry but here are the relevant sections from the logs...

E/AndroidRuntime(22303): java.lang.SecurityException: WifiService: Neither user 10222 nor current process has android.permission.ACCESS_WIFI_STATE.

E/AndroidRuntime(22303):	at android.net.wifi.IWifiManager$Stub$Proxy.getWifiApEnabledState(IWifiManager.java:1715)

E/AndroidRuntime(22303):	at android.net.wifi.WifiManager.getWifiApState(WifiManager.java:1286)

E/AndroidRuntime(22303):	at android.net.wifi.WifiManager.setWifiEnabled(WifiManager.java:837)

E/AndroidRuntime(22303):	at com.brandall.nutter.AssignmentTab.onWifi(AssignmentTab.java:422)

D/QuickSettings( 265): WifiManager.WIFI_STATE_CHANGED_ACTION

D/QuickSettings( 265): WifiManager.WIFI_STATE_CHANGED_ACTION

I/nutter (22389): Heard: [android system turn wifi on, android system turn wifi off, android system in turn wifi on, android system in turn wifi off]

I/nutter (22389): Contains on & off wifi

I/nutter (22389): Contains on off wifi ws == false

V/TtsService(22344): TTS service received I detected both on and off in the voice data. As your WiFi is currently switched off, I'm going to presume I'm required to turn it on , I did not detect the word 'Zip' and the end of your command, so I would like to interact further

V/TtsService(22344): TTS processing: I detected both on and off in the voice data. As your WiFi is currently switched off, I'm going to presume

I'm required to turn it on , I did not detect the word 'Zip' and the end of your command, so I would like to interact further

E/AndroidRuntime(22389): java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=199076, result=-1, data=Intent { (has extras) }} to activity {com.brandall.nutter/com.brandall.nutter.FragmentTabActivity}: java.lang.SecurityException: WifiService: Neither user 10222 nor current process has android.permission.ACCESS_WIFI_STATE.

E/AndroidRuntime(22389): Caused by: java.lang.SecurityException: WifiService: Neither user 10222 nor current process has android.permission.ACCESS_WIFI_STATE.

E/AndroidRuntime(22389)

This is all entries involving wifi and aside from using nutter I tried myself successfully to turn on and off wifi using my phones on screen widget.

Dave
[Android Apps and Games] brandall:
Could you elaborate for me please? Do you mean you are getting force closes or you can see the string 'on/off wifi' in the returned data, but they are not being detected??

What you've posted is great, thank you. I'm puzzled :mad:, but you've given me all I need.
[Android Apps and Games] mistermentality:
I see in the logs that nutter is thinking I said a lot more in a sentence than I did so may be a bug where its some how adding possible commands to what was said?

Though why the buttons also crash I'm unsure. If you need any more information I can post more. I have tried a number of times and it still does the same although it recognises my voice just fine.

Dave
[Android Apps and Games] brandall:
It appears that one some devices I not only need to request network permissions and permissions to alter the wifi state, I also need to separately request permission to access the wifi state.

I won't question why.... I'll just add it and hope it solves the problem! I'm half way through another update, so I'll post this update in a few hours towards the end of the thread. If you could test it out for me please :)

Cheers
[Android Apps and Games] brandall:
You might have been looking at the collective results in the log, which is all of the results grouped together.

I've posted the updated apk below - I hope it will fix the issue... Please let me know! :) Thanks in advance.

For everyone else who didn't have an issue with the previous apk, then you may not notice a difference with this one. There is improved logic behind the scenes though.
[Android Apps and Games] mistermentality:
It is turning on by voice and button, and off by button. I can't test if wifi turns off by voice as I'm not at home so no wifi access which means of course that once it switches wifi on it stops using my phones internet and so can't parse the voice data to google but as everything else appears to work fine I think you fixed the problem.

Thanks :)

Dave
[Android Apps and Games] brandall:
Great, well as no force closes I'm going to assume it's fixed! Still a little confused that on some devices I can change the wifi state, but not just check the state!? Anyway, solved, so I'll let it go! :eek:
[Android Apps and Games] mistermentality:
Does seem odd, but yes there are no force closes now nor any other issues. Thanks :)

Dave
[Android Apps and Games] brandall:
I appreciate your interest in the development and replying to the posts is a welcome break from programming for me!

I'm interested to hear your opinion and if it's not necessarily totally positive that isn't a bad thing. I'm hoping to create an application that will have millions of downloads, so anything you think of, whether it be good or bad, positive or negative or convenient for 'you', will no doubt be an opinion or thought shared by many others. I need to hear it now!

Thanks, and I hope so... :)
[Android Apps and Games] brandall:
Thanks for letting me know - What voice engine do you use? I might include a 'show text' button or something... I'll have a ponder...

I like it, thank you... Trouble is, what if utter! does detect something in your calendar at 8:30am?

Imagine the scenario that you are leaving work for the day and ask your personal secretary to give you an alarm call at 8am the next morning - If she knows you have a meeting at 8:30 in the office, wouldn't she confirm you realise that...?

*I know a personal secretary could be a man btw, sorry for my sexism!*

I have to devise a way to make utter! informative at the right times, but not annoyingly so... No doubt the opinion of what is 'too much' will vary from user to user... Perhaps if utter! has something else to clarify an 'i' can appear in the notification bar? If you say 'tell me more' or 'what?' within the next few seconds, then it will elaborate... Perhaps the 'i' could be green, amber or red depending on how important utter! considered the extra information to be...?

It's something I need to get right, so people don't just end up uninstalling utter! because it's so bloody annoying! I fear there's going to be a fine line between novel, useful and wishing it would STFU! :eek:

Your personal opinions and further thoughts would be appreciated....
[Android Apps and Games] brandall:
What tab shall I do next...?

Folks, I was about to start on the next functional tab and whilst pondering over which functionality I should choose, I thought that maybe I should let you dedicated followers choose!

So, what would you like to control by voice on your device?

It can't be anything too complex at this stage (by complex I mean with lots of variations), but your suggestions are welcome!

Going to grab a few hours sleep, then I'll be back...
[Android Apps and Games] freak4dell:
I say keep working on system controls. For example, do Bluetooth next. Then volume, then screen brightness, etc. That way, when all the popular system controls are done, you can roll them into one tab, then move onto a different category, like playing music or something.
[Android Apps and Games] brandall:
I was going to do Bluetooth - It does seem like the sensible choice. Was worried about being boring + sensible though!

It's Bluetooth at the moment, unless anyone strongly objects! :eek:
[Android Apps and Games] Rhishabm:
Just a curiosity question

Is there a limit to how many commands can utter learn?
[Android Apps and Games] GLDavis:
I don't think so. Seems I'm getting the same thing. "what time is it in New York"? I'm getting "the time in

New

is .........".

For Hong Kong I got exactly the same response.

Thanks

---------- Post added at 10:58 AM ---------- Previous post was at 10:54 AM ----------

Shouldn't have a limit. With the creating commands and customization capabilities, your possibilities are well, probably endless.:)
[Android Apps and Games] Rhishabm:
And is it possible to restore 2 or more alternate backups and having command lists of both? Or will the first comment list file be defeated after the second one?

I'm asking this because in theory, it could be possible for every one to share all there default command list files and that could be all combined into one big

Command list file which will has so many commands, it's almost smart on its own without actual artificial intelligence!

Off corse that would also mean a lot of typing work for summarizing all the commands into different sections for people to go through them :P

But not if we had an inbuilt option in utter to categories them in given categories ourselfs and sync them to that big command file list (not if we don't want to) or have it all displayed somewhere so users can go through them..

I mean, this is just an idea.. Though it would be cool. :D
[Android Apps and Games] GLDavis:
In answer to your response-

Although not yet implemented, but planned on a while back will be a custom database of some sort with all sorts of user inputs for phrases, etc. So stay tuned and that was a good question!
[Android Apps and Games] bruce7373:
I think this would be helpful if macros become a reality, but, in general, with my limited number of synapses ;), I find it's easier to remember my own commands than utter's (I'm forever asking her to float commands because I can't recall them verbatiml).
[Android Apps and Games] Rhishabm:
Lol :P

True, but if there are so many commands utter knows, the most common commands you say will work in most any way you say them! Like 100 ways of saying the same thing! Plus,

It wouldn't harm knowing what witty or clever thing utter can say or do because of some brilliant minds out there ^^
[Android Apps and Games] bruce7373:
Tell utter to fxxx-off. Hysterical. :D
[Android Apps and Games] megaancient:
Is utter supposed to work offline?

If yes then its not working offline on my xperia E. It says"lost network connection.....".
[Android Apps and Games] GLDavis:
Have you installed the Offline Voice Recognition files?

On your phone select-

System Settings

then

Language & Input

then

Text to Speech output

At Google Text-to-speech....click on the settings icon

then

Install voice data

*** you should see download offline files or voice data
[Android Apps and Games] Spark1223:
Is there any way to pass part of what you say as a variable into tasker? Like if I want to bring my CPU frequency up to a certain level, or get transit directions, or something? (Actually I dunno how to get transit directions with tasker I need help with that).
[Android Apps and Games] PhilipTD:
What is the difference between utter! and Google Now voice search?
[Android Apps and Games] Rhishabm:
Google now sticks to what is been taught by Google, and mostly helps in normal everyday life through prediction with cards

But utter is more like a personal assistant which can learn, and behave accordingly! Plus, is fast as it's got no ui ^^
[Android Apps and Games] GLDavis:
Actually, it is one of the next features to be included in the next update.
[Android Apps and Games] PhilipTD:
I tried to figure out how to set this up, but couldn't. If you or anyone would be kind enough to give me a step-by-step, I would greatly appreciate the help. Thank you very much.

---------- Post added at 08:49 AM ---------- Previous post was at 08:33 AM ----------

Thank you very much for your response. I have another question, if I may. Is it possible to access Google Now from utter!?
[Android Apps and Games] megaancient:
At Google Text-to-speech....click on the settings icon- i have spanish, italian, french and german as language options. i dont have any english voice data option.(my default lang is set at english-US).
[Android Apps and Games] PhilipTD:
Feature Request

Please add Note Everything to the "Default Notes" apps.
[Android Apps and Games] Giot:
This is amazing and works like a charm. Tasker can now activate and deactivate permanent recognition! This will work really well to avoid the stuttering while streaming music, among other things. Thanks a bunch!
[Android Apps and Games] GLDavis:
That's what I show on my device as well...AND I have never had to download any files for offline myself.

Need to make sure now that you have the LATEST version of Google Search (version 2.5.8.675703)

and

Voice Search (ver 2.1.4)

Start with Google Search and go into your apps management and select Google Search (you will find your version number there). If it matches the above, then what version of Android are you on?

P.S. Important Note-your offline recognition will be available only to localized options on your device (Opening Apps, etc). Anything that requires an internet connection such as the weather or google searches may return the above mentioned result!
[Android Apps and Games] Rhishabm:
Well if you tell utter to open google now, she will always open google plus..

But you can set a custom command for it and tada!

But why would you wanna do that when you could directly ? :P
[Android Apps and Games] megaancient:
I got the versions of Google search and voice search same as yours. Android version 4.1.1 sony Xperia E.
[Android Apps and Games] GLDavis:
So, if you put your phone into airplane mode, then try a command like "settings"...does it execute that command for you?
[Android Apps and Games] PhilipTD:
Could I do it directly hands free?
[Android Apps and Games] GLDavis:
If you created a custom command Originally Posted by Rhishabm View Post

And if you had Utter! in Permanent Recognition then you should be able to. Issue your wake up command, when utter speaks, say your custom command that runs Google Now...then you should be able to speak your command to Google Now.

I think I got this right.
[Android Apps and Games] PhilipTD:
Got it. Thank you very much. I'll see if I can get it to work.
[Android Apps and Games] abledan:
driving mode phone calls

If I'm in Driving Mode, is there a way to ask Utter to answer an incoming call and hang up when the call is done?
[Android Apps and Games] GLDavis:
Not directly, at least for now.

Luckily my BT headset allows me that option.

It could be done I'm sure with Tasker, but I'm not that proficient.

Hopefully someone out there can assist (you), (us) with an answer?
[Android Apps and Games] meminiau:
Please let us know how you go. If you have no luck, there is a way to use Tasker and the plugin autovoice I believe. I once watched a YouTube demo where autovoice did something similar and you would use it for permanent voice recognition rather than utter itself. You could then tell it which app to open, Googlenow or utter. Problem is is that I can't find the YouTube video now!
[Android Apps and Games] Spark1223:
How do I make taker play a playlist?
[Android Apps and Games] PhilipTD:
OK, I have Autovoice, so I'll see what I can do. Thank you.
[Android Apps and Games] GLDavis:
Not there yet for playlists. If we could clone our developer...then maybe. It is on the list to work out though.
[Android Apps and Games] Spark1223:
So I can't do it in tasker?
[Android Apps and Games] GLDavis:
I wish I was more tasker proficient but it may be possible. I just don't know unfortunately.
[Android Apps and Games] megaancient:
In airplane mode, no command gets executed. It shows fetching data and then says "not connected to network......"
[Android Apps and Games] GLDavis:
Hmm, let me ponder please. Devices can be frustrating.
[Android Apps and Games] megaancient:
Would it help if I say that I am in asia and google voice data may not be available here. Google voice search 2.1.4 wasnt available here so I installed it through an apk.
[Android Apps and Games] GLDavis:
Something tells me that we're just not getting the offline files activated. We should be getting a pico type voice.. less clarity.... that responds to your input.

Does the experia have it's own voice recognition?
[Android Apps and Games] Kurupt1:
If anybody figures out the auto voice commands for utter to work with car BT systems or any tutorial I would highly appreciate it.
[Android Apps and Games] solarbaby:
Utter + Read Last Text Message: reads older message

It seems I have found a BUG! :eek:

When I ask Utter to read the last text message it doesn't always read the last message but instead gets a certain text message stuck in it's memory and always reads that one instead.
[Android Apps and Games] boh113:
Regarding the below: I use llama and after a bit of playing around I got permanent recognition to work. When I had music playing over bluetooth in the car it was interfering with this feature as such I had to remove it from llama. See attached for llama settings to enable permanent recognition. I hope this helps someone.

I would like to know if there are commands (like the ones for turning on/off utter or permanent recognition) to use with tasker/llama to get notifications and wave-to-wake turned on/off?

**Edit** it would appear that when my screen is switched off the wave-to-wake and shake-to-wake features dont work.

Sony Xperia Z Stock 4.1.2
[Android Apps and Games] PhilipTD:
+1
[Android Apps and Games] remidesroques:
Hey guys!

Since the last four commands were added to use with Tasker to stop/start permanent recognition etc.. I'm in paradise! ! My biggest problem was that I use a lot the voice command to type my email and messages and also use Google voice search sometimes so I couldn't have permanent recognition on as it would interfere so I always had to turn it off

BUT right now, with Tasker, anytime these apps are started, I stop the recognition and restart it automatically after the app is closed.

I can now have full permanent recognition starting from the boot (with Tasker) and always being there for me.

Sooooo freakin' happy right now! ! ! !