Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first command works (until restart of Google Now) #42

Open
chylek opened this issue Feb 24, 2015 · 2 comments
Open

Only first command works (until restart of Google Now) #42

chylek opened this issue Feb 24, 2015 · 2 comments

Comments

@chylek
Copy link
Contributor

chylek commented Feb 24, 2015

Only first command I say works for me, if the 'Return to previous app' feature is not active. I have to either have the 'Return to previous app' active or kill the Google Now app via Tasker or something.

How to reproduce:
0. turn off the 'Return to previous app' feature

  1. 'Ok, Google' - recognizing active
  2. 'Next Song' - changes to next song
  3. 'Next Song' - does nothing
  4. kill Google now app
  5. 'Ok, Google'
  6. 'Next Song' - works again
  7. 'Next Song' - doesn't work

Nexus 4 with stock Lollipop

@RSenApps
Copy link
Owner

RSenApps commented Mar 1, 2015

Have you tried with other commands than "next song". I believe it might just be a bug in these music commands... Try something like turn on/off flashlight

@chylek
Copy link
Contributor Author

chylek commented Mar 2, 2015

I've tried several different commands with Tasker and it is the same. Also the same happens when Google recognizes different phrase (that is not linked to any command) and when I correct myself (starting the recognition again and saying correct phrase), the Commandr doesn't catch it.
I've digged a little through the code and when debugging, I've found that Google search app does not generate any accesibility event for text selection change after first request. I've tried to catch events even for a change of a window content, but that works only partially - it catches only the progress (partial results) of the recognition and rarely the final result. The result is hidden somewhere in WebView and I was unable to access it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants