Profile

Cover photo
jeremy barrett
65 followers|42,866 views
AboutPostsPhotosVideos

Stream

jeremy barrett

AutoVoice Discussion  - 
 
during various executions of a task, i see different results in logcat output, some of which involve the issuing of an android BACK KeyEvent. 

for instance:
sample run a:
V/GOOGLENOWINTERCEPT( 4020): It's a new voice command
V/GOOGLENOWINTERCEPT( 4020): Should do google search: false
V/GOOGLENOWINTERCEPT( 4020): Results checker: Command matched
V/GOOGLENOWINTERCEPT( 4020): Text isn't present: press back
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait

sample run b:
V/GOOGLENOWINTERCEPT( 4020): It's a new voice command
V/GOOGLENOWINTERCEPT( 4020): Should do google search: false
V/GOOGLENOWINTERCEPT( 4020): Results checker: Command matched
V/GOOGLENOWINTERCEPT( 4020): Text is present: press back and wait

sample run c:
V/GOOGLENOWINTERCEPT( 4020): It's a new voice command
V/GOOGLENOWINTERCEPT( 4020): Should do google search: false
V/GOOGLENOWINTERCEPT( 4020): Results checker: Command matched
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait
V/GOOGLENOWINTERCEPT( 4020): Text isn't present yet: wait

sample run d:
V/GOOGLENOWINTERCEPT( 4020): It's a new voice command
V/GOOGLENOWINTERCEPT( 4020): Should do google search: false
V/GOOGLENOWINTERCEPT( 4020): Results checker: Command matched
V/GOOGLENOWINTERCEPT( 4020): Text is present: press back and wait
V/GOOGLENOWINTERCEPT( 4020): Text is present: press back and wait
V/GOOGLENOWINTERCEPT( 4020): Text is present: press back and wait
V/GOOGLENOWINTERCEPT( 4020): Text is present: press back and wait
V/GOOGLENOWINTERCEPT( 4020): Text is present: press back and wait


note that all four runs recognized the user's speech as the same text string.

i don't claim to understand the output posted above, but it is very unsettling that seemingly identical input results in such different output. i don't know what it means for text to be present, but it's striking that sometimes the text is there, and sometimes it is not. more disturbing is that sometimes a BACK KeyEvent is dispatched, and sometimes not. because my purpose in using tasker/autovoice is to communicate with a launcher to start/control other apps, activity stack manipulation is a big deal that i very much want to avoid.

my question is threefold:
1) what could be causing the autovoice task to be responding unpredictably
2) why is tasker/autovoice issuing a BACK KeyEvent as part of its response to a recognized command
3) is there a way to ensure that the BACK KeyEvent is never issued by a task/profile?
1
João Dias's profile photo
 
1)AutoVoice monitors google's app UI to see when the text you search for is present so that it can back out of it and cancel the google search. This may take a variable amount of time depending on your device and search query and device state, network conditions, etc.
2)The back button is used to cancel the google search. If it weren't pressed you would see the google search result after each AutoVoice command.
3) You have the option to not cancel the google search in the AutoVoice Recognized condition in Tasker

Hope this helps
Add a comment...
Have him in circles
65 people
Daron Vroon's profile photo
Nathan Wells's profile photo
Josh Gargus's profile photo
Nick Depalma's profile photo
Jasmin Rosario's profile photo
Nicolas Noble's profile photo
Matt Flagg's profile photo
katie depalma's profile photo
Annika Kleinwaechter's profile photo
People
Have him in circles
65 people
Daron Vroon's profile photo
Nathan Wells's profile photo
Josh Gargus's profile photo
Nick Depalma's profile photo
Jasmin Rosario's profile photo
Nicolas Noble's profile photo
Matt Flagg's profile photo
katie depalma's profile photo
Annika Kleinwaechter's profile photo
Links
Contributor to
Basic Information
Gender
Male