[GUIDE] Tasker - Send Intent action

edwardenglish

Senior Member
Nov 13, 2012
111
12
0
guys, is there a way to open google maps app and to center it on my current gps location and do nothing else?
I manage to create an intent in tasker that opens maps app but I can't find how to center it?
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
guys, is there a way to open google maps app and to center it on my current gps location and do nothing else?
I manage to create an intent in tasker that opens maps app but I can't find how to center it?
Location
A1: Get Location [
Source:Any
Timeout (Seconds):100
Continue Task Immediately: Off
Keep Tracking: Off

<Google maps location intent>
A2: Send Intent [
Action:android.intent.action.VIEW
Cat: None
Mime Type:
Data: geo:%LOC
Extra:
Extra:
Extra:
Package: com.google.android.apps.maps
Class:
Target: Activity

Maps intents are discussed in an understandable way, on the Google Maps Intents for Android page.


"find somebody that you think is undeserving of your compassion and give it to them" - Christian Picciolini
 
  • Like
Reactions: edwardenglish

edwardenglish

Senior Member
Nov 13, 2012
111
12
0
.....
A2: Send Intent [
Action:android.intent.action.VIEW
Cat: None
Mime Type:
Data: geo:%LOC
Extra:
Where did you find THIS?

edit:
I also found this link and put the command
Code:
 "google.navigation:/?[B]free=1[/B]&mode=d"
into the data field in tasker's intent. Works!
 
Last edited:

djparent

Senior Member
Jan 3, 2010
147
92
0
Saskatoon
Hi! I'm trying to connect to a known WiFi network using Tasker intents and having trouble. Up until recently I've used the"WiFi Connect" plugin but it doesn't work after my latest system update. I'm using a rooted Huawei P20 Pro.

After reading for the last few hours I've determined what I want to do is possible but most solutions seem like overkill. I'm connecting to a known network so do not need to scan WiFi or use ifconfig, simply entering the SSID should work. Here's what I have so far:

ACTION: android.intent.action.CONNECT_TO_WIFI
DATA: -e ssid (my SSID)
PACKAGE: com.google.wifisetup/.WifiSetupService
CLASS: WifiSetupService.Connect
TARGET: Activity

I've obviously got something wrong here as it doesn't work. Any help is appreciated!
 
  • Like
Reactions: Sepero

1drowbay

Member
Mar 10, 2019
5
0
0
Add some Tasks

Can you please add some task for SNote for galaxy notes?:confused:

---------- Post added at 11:39 PM ---------- Previous post was at 11:31 PM ----------

Hi, the next intent starts Google Play Music playing the I'm feeling lucky radio:

Code:
Send Intent [ 
 Action: android.media.action.MEDIA_PLAY_FROM_SEARCH
 Cat:
 Mime Type: 
 Data:
 Extra: 
 Extra: 
 Package: com.google.android.music
 Class: 
 Target: Activity
]
However, Play Music is started in foreground. Is there a way to start this in the background?

Regards,
I search for an action for open quickmemo snote because it don't start right. It starts and then I need to open any app than go back to home screen then it's there minimized than tap it.

I made it that even start it but it does not show up right.
 

baudy2

Senior Member
Nov 23, 2005
440
18
0
Geneva
Hello everyone!

I have a weird problem here. I am not 100% new in Tasker and already using it for almost 5 years automating various things.

I had a task which were automating the emailing the newly downloaded e-book to my Kindle account. Recently Amazon started to send back an email where there is a button in the middle to confirm manually that this book was sent by you.

Now, to the question - is it possible to open the received email with particular sender or subject on the screen and then, using AutoInput plug-in to click this button? Can I open an email using intent or by any other mean?

Forgot to mention, I am using Gmail and Aquamail.

Thank you in advance,

Kind regards,
 
Last edited:

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
Hello everyone!

I have a weird problem here. I am not 100% new in Tasker and already using it for almost 5 years automating various things.

I had a task which were automating the emailing the newly downloaded e-book to my Kindle account. Recently Amazon started to send back an email where there is a button in the middle to confirm manually that this book was sent by you.

Now, to the question - is it possible to open the received email with particular sender or subject on the screen and then, using AutoInput plug-in to click this button? Can I open an email using intent or by any other mean?

Forgot to mention, I am using Gmail and Aquamail.

Thank you in advance,

Kind regards,
I don't use AquaMail, but I thought it has a Tasker plugin.

Regardless, you could use AutoNotification to capture the email notification for the Amazon email. When you have a existing notification for this particular email, that's a good time to setup the profile. AutoNotification has an easy setup option that will help you configure this.

Then AutoInput, also has an easy setup option which should make configuring the task easier.
 

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
I am sorry, I did not get you. Are you recommending me to use AutoInput to open Gmail message?
First I suggested exploring the aquamail integration. Failing that, AutoInput can be setup to open the email by clicking on the notification.

Edit: I keep saying AutoInput, but really an AutoNotification action is easier. The correct email notification gets intercepted with AutoNotification, then the task has an AutoNotification action that executes on the %antouchaction.
 
Last edited:

ktmom

Retired Forum Moderator
Apr 22, 2015
5,186
3,372
0
Deep Space Station K7
Here is a profile you can import that performs a demonstration.

To trigger, send an email to your gmail account with the subject;

This is just a test

Place content in the body of the email that starts with;

This is the body of the email.

It is preferable to send the email from an account other than gmail, or to send the email on a different device. This relies on the notification from gmail which may not display if the app is open.
 

francwalter

Senior Member
Nov 13, 2011
591
106
63
Is there an intent for toggling the camera flash notification option?
Never heard of such a notification but it seems to me a setting of your camera app.
Maybe you can find this setting in a file of the camera app (in /data/data/...) and change it there?
My camera settings are in (e.g.):
/data/data/com.android.camera/shared_prefs/camera_settings_global.xml
I have the stock camera of Xiaomi Mi A1 with Android 9 (root).
 
Last edited:

SeyedAliKia

New member
Jan 7, 2021
2
0
11
Hello everyone.
I'm using tasker.
I need to install an app using intents.
I have searched but so far I only found the intent to uninstall apps.
Can someone send the intents needed to install an app?
 

SeyedAliKia

New member
Jan 7, 2021
2
0
11
Hi everyone!
Is there an intent for sending text (from var as example) to the clipboard (maybe via share with clipboard option)?
Forgive me if this is irrelevant.
I don't know the intent for that in tasker but in marcodroid there is a "Fill clipboard" function that meets your need.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone