Page 1 of 1

Android Wear Voice Activation

Posted: 19 Sep 2014 01:20
by mathieson
Hello,

Could you consider adding a voice action to Automagic for Android Wear?
https://developer.android.com/training/ ... emProvided

The idea here would be:
1. Say "Ok Google, start automation" (or something like that)
2. Have a trigger in Automagic that will execute whenever the above is said
3. Probably run some sort of flow with android wear notifications to execute some other flows and control Automagic.

Thanks again for a great program!

Re: Android Wear Voice Activation

Posted: 19 Sep 2014 03:57
by mathieson
In the mean time, and hoping that Steve will come up with some way to launch Automagic from within Android Wear, here is a small APK to help with this: http://199.195.250.250/Automation.apk

The APK basically just opens, broadcasts the below intent, and then closes. Nothing more.

Just say "Ok Google, start automation" and the app will broadcast an intent "app.mathieson.Automation". You can use the General Broadcast trigger to detect this and do whatever you want on it.

I have a notification pop up that allows me to choose other flows.

Not the best way, I would love to include it into the Android Wear start menu but it seems a hastle to make an app that syncs data.

In case anyone is interested, here is some code I think could be very useful as an example:
https://gist.github.com/gabrielemariott ... db251f7534

It would be very nice to have some sort of Wear app installed by Automagic that lets us launch flows directly. Please think of this for your next version!