Use Tasker with "OK Google" on Nexus 5 OK guys, I have searched and searched but cannot find an answer to this question.

I want to link the "OK Google" phrase that starts a Google Now search on the Nexus 5 to Tasker, or more specifically the AutoVoice plugin for Tasker.

I can attach the swipe up from the bottom to use AutoVoice rather than Google Now , but I cannot figure out how to make the phrase "OK Google" use AutoVoice.

I read that on the Moto X you can use Tasker to watch for the "Touchless Control" App to become active, and then kill it and start AutoVoice. But the Nexus 5 doesn't have the Touchless Control App, In fact I don't know what process or App is actually listening for the "OK Google" phrase on the Nexus 5.

Can anyone shed any light on how I might make this work.

Thanks in advance
Here is a video tutorial on how to get it setup.  

https://www.youtube.com/watch?v=-6Woh20ullI

Explanation of Video

This requires the Xposed Framework and the Google Now API for it. You will need to be rooted to install the Xposed Framework.

First you need to do this:


Open Google Now API
Click plugin (example AutoVoice)
Check "Enable" for Google Now integration


In Tasker you will need to setup something similar to task for task:


Create a new Action
Create If (for action category)
For condition select (or type if you cant find) avsource
Make sure condition is set to matches
type in googlenow for what the condition matches
Create whatever action you want for the If (need to be familiar with Tasker)
Create End If