yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Matthileo:
Whoops. Didn't mean to comment.
[Android Apps and Games] who8mylunch:
Nice job

This is a great resource! Thanks for putting so much effort into this write up.

Here is a question/request: What about using Tasker to receive an Intent from another application?
[Android Apps and Games] RiseUp:
I suppose that would depend on what you are trying to do. Some intents are broadcast for whomever is listening, while others are sent directly to an app without being able to be intercepted. Do you have a specific thing in mind that you are attempting to control?
[Android Apps and Games] Miaxus:
What about sending a whatsapp message? Do you think is it possibile?

Inviato dal mio GT-N7100 utilizzando Tapatalk
[Android Apps and Games] RiseUp:
I don't use whatsapp, but this link looks promising:

MOD EDIT: Link removed
[Android Apps and Games] shaharofir:
It works like a charm
[Android Apps and Games] sjmiller:
Following are a few simple intents for Office Talk and for Daily Roads Voyager.

Selection of intents to be used with Tasker for the application Office Talk

Task: OT Logout (31)

A1: Send Intent [ Action:ocs.android.pro.LOGOUT Cat:None Mime Type: Data: Extra: Extra: Package: Class: Target:Broadcast Receiver ]

Task: OT Login Away (38)

A1: Send Intent [ Action:ocs.android.pro.LOGIN Cat:None Mime Type: Data: Extra:EXTRA_AVAILABILITY:away Extra: Package: Class: Target:Broadcast Receiver ]

Task: OT Login Avail (39)

A1: Send Intent [ Action:ocs.android.pro.LOGIN Cat:None Mime Type: Data: Extra:EXTRA_AVAILABILITY:available Extra: Package: Class: Target:Broadcast Receiver ]

Task: OT Login (40)

A1: Send Intent [ Action:ocs.android.pro.LOGIN Cat:None Mime Type: Data: Extra: Extra: Package: Class: Target:Broadcast Receiver ]

Task: OT Away (41)

A1: Send Intent [ Action:ocs.android.pro.SET_AVAILABILITY Cat:None Mime Type: Data: Extra:EXTRA_AVAILABILITY:AWAY Extra: Package: Class: Target:Broadcast Receiver ]

Task: OT Avail (44)

A1: Send Intent [ Action:ocs.android.pro.SET_AVAILABILITY Cat:None Mime Type: Data: Extra:EXTRA_AVAILABILITY:AVAILABLE Extra: Package: Class: Target:Broadcast Receiver ]

Selection of intents to be used with Tasker for the application Daily Roads Voyager

Task: DailyRoads Stop App (71)

A1: Send Intent [ Action:com.dailyroads.intent.action.STOP_APP Cat:Default Mime Type: Data: Extra: Extra: Package: Class: Target:Activity ]

Task: DailyRoads Stop Video (72)

A1: Send Intent [ Action:com.dailyroads.intent.action.STOP_VIDEO Cat:Default Mime Type: Data: Extra: Extra: Package: Class: Target:Activity ]

Task: DailyRoads Start Video (73)

A1: Send Intent [ Action:com.dailyroads.intent.action.START_VIDEO Cat:Default Mime Type: Data: Extra: Extra: Package: Class: Target:Activity ]

Scott
[Android Apps and Games] A_Str8:
I would try using the web browser to download a file. Have you tried the "Browse URL" action in Tasker?
[Android Apps and Games] SycoPrime:
Hello there. I'm attempting to launch a widget using Tasker, and wound up on this thread. Reading through it, it seems there may be knowledge enough to help.

Specifically, I'd like to directly launch UStream in the way that the widget does: directly into broadcasting mode.

More generally, however, I'm attempting to accomplish having a tasker task that launches a broadcast / stream.

If you guys are unsure of how to help, any directions to places that might have the answer would also be appreciated. Thank you.
[Android Apps and Games] inancatil:
Could you try this;

A1: Send Intent [ Action: Cat: Default Mime Type: Data: Extra: Extra: Extra: Package:tv.ustream.ustream Class:tv.ustream.ustream.PhoneVideoScreenStarter Target:Activity ]

if not working , i dont know another way :D
[Android Apps and Games] SycoPrime:
Okay, awesome! That worked! It seems, however, that sometimes the "Record" button gets hit automatically, sometimes no. So. Two questions:

Is there a way to hit that red button? Preferably without the overlays plugin, but if that's the ticket, then OK...

How did you figure out to use the VideoScreenStarter class?

The rest of the stuff I can fathom you figured out by acclimating with tasker / intents, but what made you choose that class?
[Android Apps and Games] inancatil:
i used quickshortcutmaker to get class. To hit button you can use run shell action if you have root. if not try AutoInput but i am not sure it will work
[Android Apps and Games] tahleel:
Can anyone help with posting an URL of an image to Instagram? I have this, but it isn't working:

Action: android.intent.action.SEND

Cat: Default

Mime Type: image/*

Data:

Extra: android.intent.extra.STREAM:%imgurl

Package: com.instagram.android

Class: com.instagram.android.activity.MainTabActivity

Target: Activity

It opens up Instagram, but it doesn't actually get the image. However, whenever I use Firefox to share pictures, it opens Instagram and shares it via URL. I used AutoIntercept and got this:

Package: com.instagram.android

Class: com.instagram.android.activity.MainTabActivity

Command: none

App: org.mozilla.firefox

Subject: none

Text: https://blah.com/blah.jpeg

I noticed Instagram's API stating it needs to be a local file, however, the Firefox example above shows that the file can be an URL.

Can anyone help?

Thanks!
[Android Apps and Games] adarshd:
Great post

Thanks...I was looking for this
[Android Apps and Games] :
Tasker Intent to Sygic?

Hello,

I want to send an Intent from Tasker to Sygic that tells Sygic to navigate to a given address (not coordinates!)

I've searched on the web and found out that

geo:0,0?q=STREETNAME+CITY

opens the destination address but does not start navigation....

Can anyone help me with this?
[Android Apps and Games] Pkt_Lnt:
Have you contacted the Sygic dev, they would know if this works in their app?
[Android Apps and Games] RuggedHunter:
When google maps is in the foreground and a voice search is performed, the microphone in the top right corner turns red, recognition tone sounds, and the command is performed...the usual google voice search UI does not appear over Maps...just the red microphone and tone let you know voice recognition started. *Google Maps appears to contain some built in queries ("how far till the next turn", "are we there yet", "show me the directions", "how's the traffic", etc...), and other queries are passed thru the Google app ("tell me the weather", "what's 2+2", "navigate to Lincoln Financial Field", etc...). *When google maps is in the foreground and I say "ok google" to start the voice recognition, I can perform any of these commands...anything that normal voice search can do.

I use Autovoice Continuous heavily while in car mode. *So if I want to perform a regular Google voice activity in Maps, I need an Autovoice Recognized context that turns off autovoice and launches google search by an intent.

I found a Google App activity that I can launch with Secure Settings, which starts this method of voice search in Maps:

00 (288)

********A1: Secure Settings [ Configuration:Google App - [Google App] com.google.android.voicesearch.intentapi.VoiceCommandActivity Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]

When Maps is running and I launch this activity, I can successfully perform the commands which appear to be built in to the Maps app, but nothing that seems to require background help from Google App... So I can say "How far till the next turn?" or "how's the traffic?", I'll get the expected response. *But if I say "tell me the weather" or "navigate to Walmart" nothing happens, except I do get the recognition tone that I command was received.

So, I'm wondering...can't I use a Send Intent or Run Shell action, perhaps with additional information in the intent, that would allow me to perform any search just like this function works out of the box in Maps?

Edit: How can I run this intent as 'signed in' to my Google account? I noticed that when I use the native function "ok google" there is a toast message that appears as soon as voice recognition turns on that says "sending audio to myemailaddress@gmail.com" ....but I don't get that toast when I launch the activity from the SecureSettings action. Is it possible to include some kind of flags to run the intent as logged in to google? That might be why no command is passed to google app?

I'm imagining something like:

am start -a com.google.android.voicesearch.intentapi.ACTION -n com.google.voicesearch/.VoiceCommandActivity -f myemailaddress@gmail.com

Sent from my g928c
[Android Apps and Games] RuggedHunter:
Figured it out with Send Intent action:

000 (380)

A1: Send Intent [ Action:android.intent.action.VOICE_COMMAND Cat: Default Mime Type: Data: Extra:query:? Extra: Extra: Package: Class: Target:Activity ]

Sent from my g928c
[Android Apps and Games] :
should do that
[Android Apps and Games] RuggedHunter:
On my s6 edge+ with the display off, I can do a up/down swipe gesture on the edge of the screen to launch the "cocktail" edge information feeds. Does anybody know of an intent that I can use to launch those to use instead of the swipe gesture?
[Android Apps and Games] geek78:
Hi,

Can this be done with tasker :

Intent i = new Intent(Intent.ACTION_MAIN);

i.addCategory(Intent.CATEGORY_HOME);

startActivity(i);

If yes can you guide me tto do it?

Thanks
[Android Apps and Games] hayder78:
Several people are asking how to send intents with STREAM extra to send a file. It seems nobody here succeeded to do so. Extras like TEXT and TITLE are working fine. However the file related intents for some reason have some problem.

After around one day of researching I've found why.

Here are the reasons and the solution:

https://www.reddit.com/r/tasker/comments/3mwtwi/using_the_share_intent_to_send_a_file_no_root/

https://groups.google.com/forum/#!topic/tasker/lqlCpcLf-J4

For the solutions I preferred to buy Autoshare and use that and it was successful to send file attachments to evernote.

I hope this will spare the frustration that I felt for somebody searching for this.
[Android Apps and Games] EonsTimE:
Anyone could give an example of intents that create and edit a Task (reminder) for TickTick (https://ticktick.com/)? I have had some play with their API example from this page https://gist.github.com/jackinside/22dd1ed1011403646d6a but so far without success.
[Android Apps and Games] babylovebabie:
Many thanks guy
[Android Apps and Games] rapiollymega:
Did you ever figure out how to do this?
[Android Apps and Games] devitrified:
After finding out SLA4 is broken in Lollipop, i've been trying to use intents as an alternative to using python script+library.

Has anyone already figured out how to send an email, preferably with attachment, using Gmail + intent?
[Android Apps and Games] RuggedHunter:
Here's a challenge. I need to figure out how to send a broadcast SCREEN_OFF when the screen is actually on (actually screen is off but edge cocktailbar is on).

Reason: edge cocktailbar broadcasts SCREEN_ON. I modified my phone so that cocktailbar automatically launches when the screen goes off....so my phone is almost always in a SCREEN_ON state, even when user is not present. As soon as cocktailbar times out and broadcasts SCREEN_OFF, it triggers my mod and relaunches cocktailbar...which in turn broadcasts SCREEN_ON. You see? Fast charging doesn't work when screen is on...so I need to trick it.

I could write a profile that stops my mod if the "fast charging" notification is present and %BATT < 25....but where's the challenge in that?

Sent from my S6 Edge+ g928c

BobCatRom
[Android Apps and Games] dumbhorse:
Nvm
[Android Apps and Games] RS050377:
How can I start playing TuneIn with Tasker?
[Android Apps and Games] reiter123:
Thanks a lot for this post. That is a nice solution.

For MM 6.01 on a Note 4 I had do make some minor changes. :

am start -a biz.bokhorst.xprivacy.action.APPLICATION --ei Uid $( cat /proc/$(busybox pidof $( dumpsys window windows | awk '/mCurrentFocus/ { sub(/\/.*/,""); print $4}' ))/status | awk '/Uid:/ {print $2}' )

It works like a charm: I use the LMT Pie control to access it.
[Android Apps and Games] its-my-right:
Hi,

(sorry for my English)

I would like to send intent containing only a word from an (made_by_tasker_app_factory) app, and I would like a classic tasker profile (with context : intent received) to receive this intent.

I'm not sure what I have to do exactly :

- Writing my intent to send: are the only fields I need to fill "action" and "extra" ? And what to put in them just to send a word, let's say : "hello" ?

- In my receive profile, what fields to fill, and how ?

I'm really lost there...

The main purpose of my (made_by_tasker_app_factory) app is to switch a variable (let's call it "%Test"). But tasker can't detect the state change of "%Test" made in my made_by_tasker app because although I've got a variable with that name, it is not the same as the one from the app (i.e : variables are not "shared" between the made_by_tasker app and tasker). So, I get the idea of sending an intent from my made_by_tasker app to tasker but I really don't know/understand how to do that, but sure it must be simple.

Could you please help me ?

Thank you :)
[Android Apps and Games] tgmbr:
I have 2 dialers on my mobile and I would like to invoke some intent action using not the default one.

To be exact I want to run call history from original Samsung S7 dialer. However my default dialer is set to Google Dialer.

The Intent action from first post executes "recent calls" from Google Dialer. I would like to run it from original Samsung S7 dialer.

I can invoke such screen using Trigger and action "com.android.contacts.RecentCallsListActivity". However I don't know how to do it in tasker. Could someone please advice how create intent to invoke this?
[Android Apps and Games] last1left91:
Hi there,

As all the others, I also have problem with Display Timeout. I own a Note 4 running 6.0.1 and I need to find a way to open Display Timeout dialog using Tasker and I thought of intent. I can create a shortcut to Display Settings but nothing that can effectively show me that Display Timeout Dialog. Is it possible using intents? Thanks in advance!!
[Android Apps and Games] badhri:
It must be just like any other intent on the first page of this thread. Just specify the package field(that of the dialer which you want it to open with) when you are creating the intent.
[Android Apps and Games] Nun3s:
What's the command to start recording in logcat, selecting the output name file and filter to only save what we really need? Tried everyting I know but can't get this by tasker.

Thanks.
[Android Apps and Games] kurokirasama:
Hello,

Is it possible to make it so the SMS get sent?

Enviado desde mi SM-J200M mediante Tapatalk
[Android Apps and Games] inancatil:
Why you look for intent when tasker already has the Send SMS action?
[Android Apps and Games] kurokirasama:
Well, it's long to explain why but I've my reasons, otherwise I wouldn't be asking for help ?

Enviado desde mi SM-J200M mediante Tapatalk
[Android Apps and Games] kurokirasama:
Maps Eta to shell

Hi again, not sure if it's the correct thread to ask this, but here i go (I'm counting on your experience):

in this link (https://gist.github.com/whiteinge/4429633#file-headed-home-xml) there is a task that send the google maps eta trough sms.

I want to know if it is possible to do the same trough a shell script and save the variable msg to a global variable (i don't need to send the sms, but if it can also be done, the better....

Any help will be appreciated.
[Android Apps and Games] kurokirasama:
Google Play music: I'm feeling lucky button

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

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,
[Android Apps and Games] colca:
I'd like to know if there is something that allow me to catch with tasker when yatse (kodi) stop playing a movie so that I can tell tasker to shutdown my server. With autoghost I can do the second part but I don't know how, or if it's possible, to do the first part.

thanks
[Android Apps and Games] edukardo:
Hi. Is there any intent for open calendar app In a specific calendar?

Enviado desde mi GT-I9070 mediante Tapatalk
[Android Apps and Games] petre11:
Does anybody knows how to download movie clips from Facebook using intents?

Thanks!
[Android Apps and Games] Dj Telo:
Hello!

Awesome thread, thank you very much.

I am trying to launch Waze directly into navigation mode to go home. According to the links provided in here, the following intent is supposed to work but does not.

Send Intent

Action: android.intent.action.VIEW

Data: waze://favorite=Home&navigate=yes

Target: Activity

After investigating a little bit, I found that it works if an "?" is added between "//" and "favorite" in the Data parameter. So:

Send Intent

Action: android.intent.action.VIEW

Data: waze://?favorite=Home&navigate=yes

Target: Activity

Hope helps someone.
[Android Apps and Games] sdfgsteve:
A quick question, if anyone knows.

I'm trying to sort out my Bluetooth media button to do fun things with the next/previous/play buttons. But I still want the play button to work. Fine, thought I, I'll send an intent to my music player instead of sending the Media Control for it. And it works perfectly. But it seems that whenever I do it, the Bluetooth grab goes to the media player even if the media player has been told to ignore them in their settings. Which means that all the buttons revert back to the default media controls, instead of the fun things. I've checked in the Run Log and tasker doesn't even see the button presses any more.

So my question is, is this something to do with how the media control grab works, or is it something to do with how the controls are sent in the first place (i.e. are they just translated into generic intents).

I've been at this for hours and it's driving me up the wall :(
[Android Apps and Games] SomebodySysop:
I have a very newbie question. I'm just beginning with tasker. I simply want to be able to launch skype and initiate search for contact named in autovoice command. I've found some "intents" that just might do the job, but my problem, being extremely new to this, is figuring out how to get from the "Action edit" screen (attached) to the place where I can input intents. Could someone please point me in the right direction (or documentation that shows me how to get there)? Thanks!
[Android Apps and Games] semaj4712:
Anybody know how to get accuweather to force update via intent?
[Android Apps and Games] leonardoroza:
Thanks
[Android Apps and Games] PamelaGirl:
Hello Good People,

I created a profile to password several apps and its working great.

How can I add Tasker to the list of password protected apps? I don't see it in the app list.

T.I.A.
[Android Apps and Games] sombra84:
Intent help: I have an intent which has to pass multiple extras. This is not currently allowed with the lack of extra fields in Tasker. I saw some suggestions to use am start via shell but this fails for me because my task must be run with startactivityforresult() and running via shell fails where tasker succeeds but doesn't pass all the extras because of the limited fields.

Does anybody have any ideas?
[Android Apps and Games] ktmom:
Are you running tasker 5.0? You need more than 3 extras fields?
[Android Apps and Games] sombra84:
Yes it's the latest release from the Play Store. I am integrating with Squares web API which uses intent and has 7 fields. There is no way around it on their end. It also doesn't launch from terminal because it requires it to run with the expectation of data returned so it errors out because of the start new activity flag that the terminal applies.

Tasker does launch the intent I need perfectly but I don't have enough ways to pass the extra fields.
[Android Apps and Games] eried1:
I can't find a thread for intents received so I guess I have to ask here.

I'm trying to use android.intent.action.ACTION_POWER_DISCONNECTED to detect when AC is unplugged but it's never triggered. Cat is set to "none". What could I be doing wrong?
[Android Apps and Games] distante:
I had the exact same problem and I never was able to find a solution.
[Android Apps and Games] ktmom:
Why not just trigger from a profile?

state -> power -> power -> ac (invert)
[Android Apps and Games] eried1:
I've tried it but sometimes when my phone is fully charged and I unplug the charger it takes some time for Tasker to detect that the device is no longer being powered. An annoyingly long time, I might add.
[Android Apps and Games] ktmom:
There can be several reasons for a delay. Make sure battery optimization is turned off for tasker. In preferences, make sure run in foreground is checked. Also reliable alarms set to always.

There is a known conflict between some versions of the Google app (>= 7.2 < 7.8 something like that) and the task queue being run.
[Android Apps and Games] eried1:
[MENTION=6617276]ktmom[/MENTION] I know now that the reason is because of changed battery status via dumpsys. I don't wish to change back so I have to circumvent the problem somehow. The exit task won't run since Tasker can't tell if the phone is charging.
[Android Apps and Games] ktmom:
See if monitoring the file:

/sys/class/power_supply/battery/charge_rate

gives you what you want. In a terminal (using root) use cat sys/class/power_supply/battery/charge_rate
[Android Apps and Games] abdul@99:
hey can u help me in recieving results from intents in tasker

I Was trying to make an intent to open people app, choose contacts and store the contact number in a variable.
[Android Apps and Games] mermaidkiller:
I want to open a URL in Firefox from Tasker and tried this (which opens actually Dolphin which I also have installed) :

Action:android.intent.action.VIEW

Cat: Default

Data: http://www.ebay.in

Package: mobi.mgeek.TunnyBrowser

Target: Activity

but it does not work....

What am I doing wrong ?
[Android Apps and Games] BaGRoS:
It is possible to send text to a Google assistant, for example: "switch on 1% light"?
[Android Apps and Games] echudoba:
Tasker help to turn radio on like the radio widget uses.

Attached is the logcat that occurs when the widget on button is pushed. Can anyone help me with the code to put into Tasker to do this function. OR find the proper information to accomplished this?
[Android Apps and Games] badhri:
I did the exact thing you mentioned and it worked. The only thing I changed was the package name: org.mozilla.firefox
[Android Apps and Games] badhri:
AFAIK, Send Intent doesn't return anything. So, I guess it is not possible to return the value of chosen contact.

(But I wrote this four years ago. so I could be wrong if things changed recently)
[Android Apps and Games] Tatsch:
Here you find a choice/list of intents, which can be used by tasker app.

Author allowed publishing. All contributions and further additions pls send to him, see last page for name, website and mail address.

Descriptions are in german language, please use translator services.
[Android Apps and Games] miro148:
(Penguin) Server app?

I´m using Penguin Server app combined with imperihome.

Is there a reason to do a Penguin Server-reconnect with tasker?

THX!
[Android Apps and Games] Steve Waring:
Package Explorer

I suggest the app called Package Explorer on Google Play. I'd post a link, but newbies arn't allowed to, perhaps someone else can post the link in a reply.

It shows you all the intents within the apps you have on your phone, so if the developer has named them sensibly you can hook into internal actions and screens.
[Android Apps and Games] edwardenglish:
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?