Commandr-Android icon indicating copy to clipboard operation
Commandr-Android copied to clipboard

Only first command works (until restart of Google Now)

Open chylek opened this issue 10 years ago • 2 comments

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

chylek avatar Feb 24 '15 15:02 chylek

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

RSenApps avatar Mar 01 '15 21:03 RSenApps

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.

chylek avatar Mar 02 '15 08:03 chylek