Tasker send intents to the Moto app? - Tasker Tips & Tricks

I was wondering if it would be possible to use tasker to send intents to activate certain moto features during more refined contexts. Like have the command talk to me executed to turn on "talk to me" or sleeping mode etc. I don't have programming experience so not sure what to look for in the APK.

rapiollymega said:
I was wondering if it would be possible to use tasker to send intents to activate certain moto features during more refined contexts. Like have the command talk to me executed to turn on "talk to me" or sleeping mode etc. I don't have programming experience so not sure what to look for in the APK.
Click to expand...
Click to collapse
Its possible to send intents to apps using Tasker, I'm doing it to control my media app and my home automation app. All you need to do is to find what intents you need to use then its easy to configure tasker to send it. Maybe you could use an app to find your the correct ones like
This app might help you intercepting/identifying intents: https://play.google.com/store/apps/details?id=uk.co.ashtonbrsc.android.intentintercept

Related

Enable Motorola Assist with NFC/Tasker?

I like the Motorola Assist feature that reads back texts to you. My problem is, I don't want it enabled every time I'm in a car. For example, I do not want it to read back texts to me when I'm a passenger in someone else's car. I also don't want it to read back texts when I have passengers in my car.
Is there a way I can create a Tasker task that would enable the Motorola Assist Driving function via an NFC tag with NFC Task Launcher? I'm pretty familiar with NFC Task Launcher but I'm pretty much a total noob with Tasker.
Sorry...I meant to post this in the Q&A forum. Moderators, feel free to move it if necessary.
bump
clankfu said:
I like the Motorola Assist feature that reads back texts to you. My problem is, I don't want it enabled every time I'm in a car. For example, I do not want it to read back texts to me when I'm a passenger in someone else's car. I also don't want it to read back texts when I have passengers in my car.
Is there a way I can create a Tasker task that would enable the Motorola Assist Driving function via an NFC tag with NFC Task Launcher? I'm pretty familiar with NFC Task Launcher but I'm pretty much a total noob with Tasker.
Click to expand...
Click to collapse
I just received my Moto X and had this exact thought. I'd like to be able to automatically trigger Driving mode, but only conditionally when an NFC tag is triggered, and then have it determine when I'm not driving anymore on its own.
Unfortunately, this would almost certainly require an API to be open by the Motorola Assist app that would allow another program to talk to it and issue it commands. I don't think that's the case, which is a bit of a bummer, since it's so useful.
I was taking a short drive back to my office, so I didn't bother to pull my phone out of my pocket. Sure enough, about 2 minutes into the ride, my Pandora station started back up automatically, and since it's paired to Bluetooth, it just started playing through my car speakers, which was awesome. Would be more awesome if it was triggered automatically by BT, and/or NFC though...
unless you can get the intent info for assist the best option may be to use tasker and input taps to open assist and toggle it on/off.
I haven't tested this at all because I just decided to make my own version of this in tasker that I can enable/disable any time I want with other profiles or via voice commands.
ntalbert000 said:
unless you can get the intent info for assist the best option may be to use tasker and input taps to open assist and toggle it on/off.
I haven't tested this at all because I just decided to make my own version of this in tasker that I can enable/disable any time I want with other profiles or via voice commands.
Click to expand...
Click to collapse
Sorry if I sound dumb, but I am new to Tasker. Is your solution possible without root? Is it possible for you to post the steps you used to create this toggle?
THANKS!
jmgordon613 said:
Sorry if I sound dumb, but I am new to Tasker. Is your solution possible without root? Is it possible for you to post the steps you used to create this toggle?
THANKS!
Click to expand...
Click to collapse
pretty sure you need root for input taps

[Q] Touchless control to activate Utter?

I'm running version 4.4, not rooted, Moto x. Utilizing Tasker, what is the easiest way to have the touchless control prompt "ok google now" directly initiate/bring up the Utter voice command app to it's listening state? I can accomplish this no problem with the screen on and unlocked, but I want the ability to also launch it with the screen off/inactive. I am most familiar with utter but will be fine using any voice command app if necessary. I just want to be able to utilize UItter voice command capabilities without it always being in a permanent listening state, which really drains my phone's battery life. Thanks for any suggestions!
I am also interested in this. The following thread should give you some leads:
http://forum.xda-developers.com/moto-x/general/moto-x-offline-recognition-solved-t2571466
Utter
masterfisher166 said:
I'm running version 4.4, not rooted, Moto x. Utilizing Tasker, what is the easiest way to have the touchless control prompt "ok google now" directly initiate/bring up the Utter voice command app to it's listening state? I can accomplish this no problem with the screen on and unlocked, but I want the ability to also launch it with the screen off/inactive. I am most familiar with utter but will be fine using any voice command app if necessary. I just want to be able to utilize UItter voice command capabilities without it always being in a permanent listening state, which really drains my phone's battery life. Thanks for any suggestions!
Click to expand...
Click to collapse
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not
Without root, your options are a bit limited. Utter! Has a direct shortcut to launch its voice recognizer? If so, you can say "OK, Google now, open (utter! shortcut name) app" Kinda awkward, but it should work.
Sent from my XT1060 using XDA Premium 4 mobile app
<br />
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not<br/>
Can you elaborate on this? I'm not a big Tasker user.
Sent from my XT1053 using Tapatalk
Touchless utter
overthatscreen said:
<br />
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not<br/>
Can you elaborate on this? I'm not a big Tasker user.
Sent from my XT1053 using Tapatalk
Click to expand...
Click to collapse
Download and install utter quick launch from the playstore and the okgooglenowtriggerintent module from xposed, once you have activated it and rebooted in xposed framework open tasker and create a new profile, hit event then in the popup start to type intent and send intent will appear, hit that and in the action section type the following:
com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER
Press back and new task popup will appear, choose application and select utter quick launch, make sure tasker is running and the new profile is active in tasker and keep pressing back until tasker exits, now everytime you say ok Google now utter will listen instead of Google now, you might want to customise the response from your command in utter, I changed mine simply to yes each time I activate utter and bear in mind that it has nothing to do with the wake up command settings in utter, I hope that all makes sense
If it's the tasker tasks in Google now that you are interested in then download autovoice from the playstore and the Google search api from the xposed framework application downloads section and activate it and reboot,
Open autovoice and scroll to the bottom and make sure that Google search api is enabled then open the Google search api app that you downloaded (should now be an icon) swipe across to the right and make sure autovoice is there, if not then reboot, if so open tasker, create a profile, select state, plugin, autovoice recognised then next to configuration hit the edit button, scroll to command filter and type the Phrase that you want to be recognised for example Toggle bluetooth, back out of it and hit the tick, then select the task that you want to perform (the possibilities are endless) and back out of tasker until it closes then try out your command, create new profiles for each autovoice command that you want to execute,
Google search will try and search for whatever you say even though it will execute your task, if you're fine with that then leave it as it is, if you want Google search to close after executing certain commands then under each task that you create press plus, select if and make the top line look like this:
%avsource ~ googlenow
Then hit back, hot plus and type kill application and select that option, search for google search and tick use root,
Hit back again and hit plus and type end if and select it and then hit back until tasker exits. Now whenever you say that particular command Google now will execute it and then return to where you were previously, if you don't want to do that for each task simply create a profile for recognising the Phrase homepage and have it run the task homepage
mpd81 said:
Download and install utter quick launch from the playstore and the okgooglenowtriggerintent module from xposed, once you have activated it and rebooted in xposed framework open tasker and create a new profile, hit event then in the popup start to type intent and send intent will appear, hit that and in the action section type the following:
com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER
Press back and new task popup will appear, choose application and select utter quick launch, make sure tasker is running and the new profile is active in tasker and keep pressing back until tasker exits, now everytime you say ok Google now utter will listen instead of Google now, you might want to customise the response from your command in utter, I changed mine simply to yes each time I activate utter and bear in mind that it has nothing to do with the wake up command settings in utter, I hope that all makes sense
If it's the tasker tasks in Google now that you are interested in then download autovoice from the playstore and the Google search api from the xposed framework application downloads section and activate it and reboot,
Open autovoice and scroll to the bottom and make sure that Google search api is enabled then open the Google search api app that you downloaded (should now be an icon) swipe across to the right and make sure autovoice is there, if not then reboot, if so open tasker, create a profile, select state, plugin, autovoice recognised then next to configuration hit the edit button, scroll to command filter and type the Phrase that you want to be recognised for example Toggle bluetooth, back out of it and hit the tick, then select the task that you want to perform (the possibilities are endless) and back out of tasker until it closes then try out your command, create new profiles for each autovoice command that you want to execute,
Google search will try and search for whatever you say even though it will execute your task, if you're fine with that then leave it as it is, if you want Google search to close after executing certain commands then under each task that you create press plus, select if and make the top line look like this:
%avsource ~ googlenow
Then hit back, hot plus and type kill application and select that option, search for google search and tick use root,
Hit back again and hit plus and type end if and select it and then hit back until tasker exits. Now whenever you say that particular command Google now will execute it and then return to where you were previously, if you don't want to do that for each task simply create a profile for recognising the Phrase homepage and have it run the task homepage
Click to expand...
Click to collapse
Great topic! Learning more about integrating Google Now and AutoVoice, but i have some doubts yet
I have a MotoX and do not want to leave the continuous mode autovoice on because MotoX has dedicated processor for voice recognition, intend
use "OK Google Now" to enable the continuous mode autovoice.
Could be accomplished?
"OK NOW GOOGLE", "MOTO X" "TURN ON TV"
^MotoX feature
^Enable AutoVoice
^Action
dont like Utter!...
Easily acomplished
klucilla said:
Great topic! Learning more about integrating Google Now and AutoVoice, but i have some doubts yet
I have a MotoX and do not want to leave the continuous mode autovoice on because MotoX has dedicated processor for voice recognition, intend
use "OK Google Now" to enable the continuous mode autovoice.
Could be accomplished?
"OK NOW GOOGLE", "MOTO X" "TURN ON TV"
^MotoX feature
^Enable AutoVoice
^Action
dont like Utter!...
Click to expand...
Click to collapse
You can accomplish it a couple of ways, if you use the okgooglenowintent xposed module as described above and instead of choosing utter quick launch you choose autovoice recognise as your task and give your commands that way (using this xposed module doesn't use autovoice permanent recognition, it uses the same as the touchless control does its just intercepting and switching touchless control for whatever app you replace it with so it doesn't drain any battery)
Or you can get the Google search api xposed module and set it up like I have above so that all of your tasker tasks are accomplished using Google now, so for example at screen off "OK Google Now turn on the tv" and providing you have the tasker task setup using the autovoice recognised profile or will perform the task for you
Just to clarify, using autovoice recognised under profile in tasker does not drain the battery as it's not the same thing as continuous listening mode in autovoice and you are using the moto x dedicated core for listening for your ok Google now command

[Q] Accessibility Services: "OK" buttons aren't responding

While I had it working before, now I cannot activate any of my apps' accessibility services. When I click on the switch, the I get a dialog box that asks me to "OK" or "cancel". The "OK" button is non-responsive. I've tried to turn on switch access with the same result.
Because of this, I cannot activate Tasker. As many of you can attest, this is akin to a disaster
gmermel said:
While I had it working before, now I cannot activate any of my apps' accessibility services. When I click on the switch, the I get a dialog box that asks me to "OK" or "cancel". The "OK" button is non-responsive. I've tried to turn on switch access with the same result.
Because of this, I cannot activate Tasker. As many of you can attest, this is akin to a disaster
Click to expand...
Click to collapse
not being able to use tasker is a disaster? ive never ever used it, and all is great here
simms22 said:
not being able to use tasker is a disaster? ive never ever used it, and all is great here
Click to expand...
Click to collapse
I was kidding.
It's a very powerful app that lets you set profiles (like at work) and actions (mute ringer etc), and is a favorite of a number of people. I am only able to program very rudimentary tasks, but in this particular community, not being able to take advantage of its features would be a hair-puller......ergo, the emoji I chose.
gmermel said:
I was kidding.
It's a very powerful app that lets you set profiles (like at work) and actions (mute ringer etc), and is a favorite of a number of people. I am only able to program very rudimentary tasks, but in this particular community, not being able to take advantage of its features would be a hair-puller......ergo, the emoji I chose.
Click to expand...
Click to collapse
yea, i know tasker, and many that use it. but i dont like anything set to do anything automatically. id rather do everything manually.
maybe you have another app possibly hindering you being able to use it how youd like.

Tasker to run copilot to a certain location

I have a profile that will turn off wifi and turn data on when I leave work.
I am trying to add a task to this that will open copilotand set the navigation to on of my saved destinations.
Can anyone help me with this please?
Never used copilot but i am pretty sure it is possible with autoinput.
You launch the app with tasker, and use a combination of autoinput commands, to have it open what you want.
The "intent" stuff that i know nothing about might be helpful as well.
Sent from my SM-G900F.
Thank, I hope someone could expand further with the items you mentioned please?
You could take a look at its intents on manifest file of the apk.
CrashOverride93 said:
You could take a look at its intents on manifest file of the apk.
Click to expand...
Click to collapse
Sorry haven't a clue what this means?
Tried using autonotification, it seems like it doesn't recognize what is clickable and what is not within your app and so i couldn't do anything with it. Havn't used it for a long time so i might be missing out on something. I probably am.
About intents check this out. Was just reading it since i don't know about intents either. It was interesting http://forum.xda-developers.com/showthread.php?t=2489449
Its an interesting read. Tried using an intent for google maps, your app recognized it. I could feed an address to the app but it will simply display it on the map.
There is most likely an intent for google maps to navigate to an address from your current position. If thats the case, your app most likely will recognize it as well which is what you are looking for.
Sent from my SM-G900F.

Tasker as "Smart Home" - Chat / Pushbullet Question.

Evening All,
I have tasker running on a Madcatz Mojo (Tegra 3 Android Box). It "runs" my "smarthome" quite nicely. I mainly communicate between phones and android TV using auto remote (to set variables and help trigger events). However as my wife is not as tech savy as I, I use pushbullet for her needs. We have simple commands like "Did I leave any windows open", or "Where did I park my car". Which is great but I can't get it to work for a specific person (ie works for anyone who messages the box). Which is a bit of a security hole really. My "house's" gmail account is unknown to others but I still don't like anyone being able to send the trigger phrases and know where my car is or if my windows are open etc. Futher to this I want to run it off a group chat, between myself, my wife and the house. This way if my mrs doesn't trigger something correctly, rather than her being fustrated, I can quickly say "You gotta type Where IS my car not Where's my car" (as an example).
So what I'm looking for is a chat app that I can install on the mojo and our phones that tasker can use to set variables and check identity, as well as having a group chat. I saw Join might be an option however it's paid and I would prefer to go with a free option if possible.
If Join is my only option can anyone confirm it can do what I require?
I am a Join user and know it can send commands to Tasker. You can pair multiple devices to Join - so you can then send a command to your box from it from the web or anywhere else you want (It uses your Google Account Login).
Join's programmer also makes a great suite of apps called AutoApps that can greatly enhance your possibilities. Autonotification for example, lets you intercept notifications and have Tasker react accordingly. He also has some other apps which give voice control which Tasker can respond to for more Smart Home Automation fun.
What's wrong with the pushbullet solution, if I may ask? It is kinda like a private chat between your wife, your "house" and yourself PLUS it has native tasker support built-in. Seems like this fits all your needs, doesn't it? Correct me if I'm missing something.
Apart from this, you may want to look into AirTask. I did not try it (yet), but it seems to be a solution for connecting different devices. (It's surely not a chat app, though.)
digitalpig82 said:
What's wrong with the pushbullet solution, if I may ask? It is kinda like a private chat between your wife, your "house" and yourself PLUS it has native tasker support built-in. Seems like this fits all your needs, doesn't it? Correct me if I'm missing something.
Apart from this, you may want to look into AirTask. I did not try it (yet), but it seems to be a solution for connecting different devices. (It's surely not a chat app, though.)
Click to expand...
Click to collapse
Can't have a "group chat" and can't determin who's the incoming user.
Medfordite said:
I am a Join user and know it can send commands to Tasker. You can pair multiple devices to Join - so you can then send a command to your box from it from the web or anywhere else you want (It uses your Google Account Login).
Join's programmer also makes a great suite of apps called AutoApps that can greatly enhance your possibilities. Autonotification for example, lets you intercept notifications and have Tasker react accordingly. He also has some other apps which give voice control which Tasker can respond to for more Smart Home Automation fun.
Click to expand...
Click to collapse
Oh I know, I'm a fan of his apps. I use auto voice and autoinput a fair bit in my home automation .

Categories

Resources