yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] badhri:
https://dev.evernote.com/doc/articles/android_intents.php

This is the link for the Evernote Android Intents page. None of the intents mentioned over there are sophisticated enough to support appending to an existing note. So I guess, it still is a no-no. (You could try opening a specific note and through Input actions in tasker add a text, but not sure how much feasible this is)

As for as Google Keep is concerned, I'm not even sure that they have an API for it yet, forget android intents.
[Android Apps and Games] cy80rg:
Intent for TuneIn Radio?

Morning gents,

Have been using TIR on my N7 car install for a year or so... unfortunately the UI is shockingly bad (and getting worse) for in-car use like this.

Looking at this thread, does anyone have any Tasker Profiles / Intents etc that would simply:

1. Start TIR

2. Load in selected stream (1 per profile etc)

3. Play stream

I'm wanting to add an icon for each "Profile", so I can simply start a stream in TIR by pressing it - rather than hack through TIR social / discovery crap...

(Alternatively, any better app with bigger UI, than TuneIn Radio?).

Thanks
[Android Apps and Games] dark79:
Intent for DnsQache?

EDIT: I figured out the am command to enable and disable the service: am startservice -n com.tdhite.dnsqache/.QacheService

Looks like I should have been looking at the QacheService class, but sending intents doesn't seem to work. I'm probably still doing it wrong. I guess I'll stick to using the shell command unless someone can help me with the intent :)

-------------------------------------------------------------------------------------------------------------------------------------------

Trying to toggle the DnsQache service on and off but can't seem to figure it out. I'm probably doing it all wrong.

Using the following I can get the window to pop up, but not start the service.

Action: android.intent.action.Main
Cat: Launcher
Mime Type:
Data:
Extra:
Extra:
Package: com.tdhite.dnsqache
Class: com.tdhite.dnsqache.ui.MainActivity
Target: Activity

Github: https://github.com/Android-Apps/DnsQache
[Android Apps and Games] clee666:
Google Play Music

Is it possible to launch Google Play Music in the background and play previously playing playlist?
[Android Apps and Games] Valiceemo:
Any way of adding to an existing Google keep note bases on title?
[Android Apps and Games] reekotubbs:
How to send pics using bluetooth intent

I am trying to figure out how to send a pic using bluetooth intent.

I can use bluetooth to send a html of text as follows:

Action: android.intent.action.SEND

Mimi Type: text/plain

data:

Extra: android.intent.extra.TEXT: Test this out

package: com.android.bluetooth

Target: Activity

but when I try to use the following:

Action: android.intent.action.SEND

Mimi Type: image/jpeg

data:

Extra: android.intent.extra.STREAM:file:///storage/emulated/0/Pictures/test.jpg

package: com.android.bluetooth

Target:Activity

Nothing happens. The STREAM part of extra doesn't seem to like the file uri.

Any help with this?
[Android Apps and Games] mety333:
Been having the same issue sharing any type of file using the EXTRA field. Tried many possible file paths but nothing gets it.

Typed on my Xperia Z3 while underwater.
[Android Apps and Games] reekotubbs:
Here is one way, but you have to run a shell script in tasker to get it to work.

1. Add a "Run Shell Script" action

2. add the following code

su

am start -a android.intent.action.SEND -t image/jpeg --eu android.intent.extra.STREAM file:///sdcard/DCIM/Camera/1391914473967.jpg

change up your -t type and your file location to suit your needs.
[Android Apps and Games] mety333:
I was so excited to try it but had no luck.

Run shell script action:

am start -a android.intent.action.SEND -t image/jpeg --eu android.intent.extra.STREAM file:///storage/sdcard1/DCIM/100ANDRO/DSC_3261.JPG

Also tried with internal memory file:

am start -a android.intent.action.SEND -t image/jpeg --eu android.intent.extra.STREAM file:///storage/emulated/0/Download/20141028_151323.jpg

That works for you to share with other apps as attachment? (Email, messaging etc)

Typed on my Xperia Z3 while underwater.
[Android Apps and Games] reekotubbs:
I left out something very important. Your phone must be rooted for this to work. I corrected my code above to reflect this fact. (added "su")
[Android Apps and Games] mety333:
Ohhh then its half way native, meaning not 100% workin on every device.

Will still hope to figure the sharing intent method, thanks for your contribution non the less!

Typed on my Xperia Z3 while underwater.
[Android Apps and Games] lords8n:
I realize this is an old post, but could you explain how you got the album IDs from Poweramp database? Thanks.

Edit: Sorry, wrong thread.
[Android Apps and Games] Alsybub:
Hi,

In the end I got the ids using sql lookups on the poweramp database file. I then use them to send intents to Poweramp.

For example, this is how I obtain a list from the sql database to display it in autopebble.

First I get the album ids-

Run Shell [ Command:sqlite3 /data/data/com.maxmpz.audioplayer/databases/folders.db

SELECT folders._id FROM folders, albums WHERE folders.name = albums.album ORDER BY albums.album_sort ASC LIMIT 1,18

Then the corresponding album names-

A7: Run Shell [ Command:sqlite3 /data/data/com.maxmpz.audioplayer/databases/folders.db

SELECT folders.name FROM folders, albums WHERE folders.name = albums.album ORDER BY albums.album_sort ASC LIMIT 1,18;

For this to work, you need to ensure that you have sqlite3 installed on your device; generally this is standard but it isn't in Lollipop. You will also need to use root when running the Shell in tasker.

The intent format to play an album is-

A1: Send Intent [ Action:com.maxmpz.audioplayer.API_COMMAND Cat:None Mime Type: Data:content://com.maxmpz.audioplayer.data/folders/%apcomm/files Extra:cmd:20 Extra: Package: Class: Target:Service ]

%apcomm is any folder id returned from the sqlite query in the previous task e.g. If there is a folder id in the database that is 23 then that is album that will start playing.

I good app to test out your sqlite queries is sqlite debugger. Just grab a copy of the PowerAmp database and you can run any query you like. Then you can just copy and paste it into tasker.

I hope that's of some use, if you get really stuck then don't be afraid to speak to the PowerAmp devs. They helped me out with the intents and updated their documentation for me, with lots of examples.
[Android Apps and Games] kemaro30:
hi, can someone help me? im trying to use the send intent to automatically log in to my bank account. heres the app.

https://play.google.com/store/apps/details?id=com.fronde.mbanking.android.pckg.bpi

hope some experts can help me and explain how to make my goal possible.
[Android Apps and Games] mugendon:
I need some help with google voice search settings. I'd like to switch the "always on" recognition of "ok google" on and off with tasker without touching the gui. In the opening post I read about directly enabling and disabling services with intents. I think that could be a way to do it. Does anybody know if there is an intent that could do this?
[Android Apps and Games] Martl74:
Me too
[Android Apps and Games] isosika:
Dear Tasker Afficionados, I wonder if there is an Intent (or some other smart way) to switch AOSP Quiet Hours on/off?
[Android Apps and Games] ks123:
Starting an app (in tasker/in a shell) / Opposite of "am force-stop"

I created an autoshare-task which i use via share in Play-Store-My apps-ExampleApp to share the package-name to a variable (e.g. %astext = com.whatsapp) Now i would like to start that app (i.e. the content of the variable) (I know in that example, that WA is running, i even know that "am start -n com.whatsapp/com.whatsapp.HomeActivity" would do the job...but it shall run with every app installed and playstore-share only delivers the packagename (i.e. what changes in the URL if you visit the webpages of apps e.g. https://play.google.com/store/apps/details?id=com.whatsapp or https://play.google.com/store/apps/details?id=ch.threema.app).

am start packagename does not work...

My conclusions - please correct me: it seems to me that one has to know , which Activity("Page") of an app has to be started...but a gazillion of other apps/launchers find a way to start any app like clicking the icon in the appdrawer... so there must be away to start an (installed) app by knowing only "the part" of the URL.

Update: I could manage it with autoshare and autolaunch(paid)
[Android Apps and Games] Mr.LOVER:
intent received ?

hi i am looking for a guide or examples for tasker event "intent received" ?

may be you could also include few examples of that event? it is hard for non-devs to find out these things their terms are uncommon among people to search on google!

thanks
[Android Apps and Games] Alahdal:
I'm not so good in this but I have an example to monitor when I Detach/Attach the S Pen.

You need to know the package/action that sends the intent and the extra which should be as a variable and contains a value. Below is the example.

The package/action in this case is com.samsung.pen.INSERT

Extra is peninsert

Profile: Spen Detection (125)
Event: Intent Received [ Action:com.samsung.pen.INSERT Cat:None Cat:None Scheme:* Mime Type:* ]
Enter: S Pen Detection (211)
A1: If [ %peninsert ~ false ]
A2: Variable Set [ Name:%PendDetatched To:1 Do Maths:eek:ff Append:eek:ff ]
A3: Flash [ Text:Detached Long:eek:ff ]
A4: Else If [ %PendDetatched = 1 ]
A5: Flash [ Text:Attached Long:eek:ff ]
A6: Variable Set [ Name:%PendDetatched To:0 Do Maths:eek:ff Append:eek:ff ]
A7: End If

Posted via Tapatalk
[Android Apps and Games] Mr.LOVER:
hi thanks for your timely reply, i have already figured it out, but problem is how do we find out broadcasted intents? which intents are being broadcasted in broadcast receiver? it is very hard to find or may be i am not using right terms to search.

and secondly can you please tell me how do you come about this code? definitely i understand the code but i use tasker UI, and i don't see any feature where i can simply insert the code you gave?

because i too, want to give people my work in tasker as a script, but i don't know how to get that script?
[Android Apps and Games] Alahdal:
You can get the broadcasts either from the application developers (if available) or through logcat (to my little knowledge). There is an application also called intent intercept, it may help.

The code mentioned above is just the profile description and there is no way to insert it as is.

However, you can import the file from below link

https://www.dropbox.com/s/kokwwzll93zixwy/Spen_Detection.prf.xml?dl=0

Posted via Tapatalk
[Android Apps and Games] TheImmortal1983:
Hello,

Does anyone know how I could get tasker or macrodroid refresh the LG Weather app? From its manifest, I've seen these instances:

-<intent-filter>

<action android:name="com.lge.sizechangable.weather.action.widget.changeweathercp"/>

<action android:name="com.lge.sizechangable.weather.action.widget.flingup"/>

<action android:name="com.lge.sizechangable.weather.action.widget.flingdown"/>

<action android:name="com.lge.sizechangable.weather.action.widget.doubletap"/>

<action android:name="com.lge.sizechangable.weather.action.forecast.refresh.exists"/>

I suspect 'com.lge.sizechangable.weather.action.forecast.refresh' would be the full intent name, but how does one add this?

My apologizes, I realize my Q is lacking a lot of knowledge and might've been answered under different forms, but that definitely wasn't clear enough for me.

Thank you.
[Android Apps and Games] Mr.LOVER:
Delete it.

sorry, wrong post, delete it.
[Android Apps and Games] JohnnyCanuck:
So , I'm relatively new to Tasker but I've had some success with voice control and automatically launching apps and the like. Had some tasks that used Media Utilities, but they're broken under lollipop. The intent that I am particularly struggling with is voice control over Rdio. I have the intents from Rdio's developer's blog, they are:

Action name
rdio.android.action.playercontrol
Extra Key
com.rdio.android.playercontrolkey
Extra Value
rdio.android.action.playercontrol.xyz where xyz is one of: toggle, play, pause, skipforward, or skipbackward

I've tried the following intents with no success:

Action: rdio.android.action.playercontrol
Extra: com.rdio.android.playercontrolkey
Extra: rdio.android.action.playercontrol.play
Package: com.rdio.android.ui
Target: Broadcast Receiver

AND

Action: rdio.android.action.playercontrol
Extra: key: com.rdio.android.playercontrolkey
Extra: value: rdio.android.action.playercontrol.play
Package: com.rdio.android.ui
Target: Broadcast Receiver

I'm obviously missing something. Anyone?
[Android Apps and Games] JohnnyCanuck:
Actually ... figured it out. Anyone looking to control Rdio through Tasker, here is the play intent (the only caveat is that Rdio must be running):

Action: rdio.android.action.playercontrol
Extra: com.rdio.android.playercontrolkey:rdio.android.action.playercontrol.[COLOR="Red"]play[/COLOR]
Target: Broadcast Receiver

You can replace play with pause, skipforward, skipbackward or toggle. No package name required.
[Android Apps and Games] rtyall:
I've been trying to get this to work in Llama, whichever Intent I use Google Play never begins playing. Has anyone else succeeded in this?

Reading through the manifest at github.com/vovs/GMusic/blob/master/AndroidManifest.xml, I'd have thought the action "com.google.android.music.PLAY" would have done it, but nothing happens :/
[Android Apps and Games] Das IceDice:
I'm trying to get this work with keep, but I have no idea how to set location based reminder. Can anyone help?

...extra.SUBJECT = title of the note

...extra.TEXT = actual note
[Android Apps and Games] phil gpx:
wear internet browser

Hi all, I'm hoping someone can help but I've spent the last 2 days trying to look for a answer with no joy.

I have a smartwatch that using Autowear i want to create shortcuts to web pages on my lg r watch.

Using wear internet browser this should be possible using intents but really struggling. I've looked through the app manifest and can't find anything and the dev hasn't really helped although he is probably busy.

My intent is something like this:

android.action.intent.VIEW

Data: http://www.google.com

Package: com.appfour.wearbrowser

I think the problem might be the Package name as from my research the wear app is built into the phone app so going through the manifest i have tried anything that looks like it Would be the wear app.

Has anyone had any joy sending intents to wear apps?

Many thanks

Phil
[Android Apps and Games] Portgas D. Ace:
Hello everyone,

I am using K-9 Mail for my emails, but I do not want to have global autosync turned on. Therefore I am searching for a way to send an intent via Tasker to sync my mail accounts only whenever I turn on K-9 Mail. And yes, I know that I could simply press the sync button, but this is not my idea of device automation :p

So, does anyone know the corresponding intent for syncing K-9 Mail?
[Android Apps and Games] ew:
File Manager Intent

I was searching for a file manager intent. I tried to use the link posted earlier in this thread - it points to a script file, but I was not able to get that to work. After alot of searching, I finally stumbled upon a configuration that works for me and wanted to share it with the group.

Action: android.intent.action.VIEW

Mime Type: resource/folder

Data: <folder reference to where I want to browse)

Target: Activity

That is it. I found that I can use the package name to specify the application I want to use. For example, the Solid Explorer 2 beta I filled in:

Package: pl.solidexplorer2

This is also useful to me, the only way that SE2 provides to make a shortcut is to create a desktop shortcut from within the application. That does not work with Folder Organizer (which I use extensively). With the intent method, I was able to create a shortcut that works perfectly with Folder Organizer.

I hope this helps others.
[Android Apps and Games] just4u32:
Is there any solution for switching to 2G on wifi and leaving it switching back to LTE?

I saw a solution using GravityBox, thing is it's not supported in 5.1 as far as I understand.

Tasker doesn't have switch to LTE option available.

Thanks.
[Android Apps and Games] Portgas D. Ace:
I do not know if there is an intent available for this on Lollipop, but you can use this widget with Tasker plugin instead.
[Android Apps and Games] just4u32:
Thanks. It requires SELinux to be set to enforcing? Because Viper4android requires it to be permissive...
[Android Apps and Games] Portgas D. Ace:
From the description:

Requirements: On Android 5.0 and later, when SELinux is set to enforcing: a superuser app with support for a SELinux context parameter (-cn). Currently, only SuperSU supports this parameter.

So I assume it is possible to run it with SELinux set to permissive as well.
[Android Apps and Games] lcsiew:
Hi

Is it possible to convert this shell command to tasker send intent?

am startservice mars.area51.arunchained/.unchainedservice.CommService

am stopservice Mars.area51.arunchained/.unchainedservice.CommService

I manage to start the service by just populating the package and class name in the intent, but I am not sure how to stop it...
[Android Apps and Games] OnAir783:
Can anybody help me how to create an intent which plays a specific playlist in deezer?

Gesendet von meinem Nexus 7 mit Tapatalk
[Android Apps and Games] Bright.Light:
It's weird, but I tested many examples here (and from other sites), but Tasker just won't do anything with this Send intent.

I do see in the log that it's been fired, but nothing happens with any of these examples.

Can anyone please help me with this Send Intent?

I try to mail an image (in a variable) without knowing the receivers address, so I would like to see the email with included image and subject, whilst the receiver's address must be set first. (I could also ask that within Tasker, so I could mail immediately, but that doesn't work either)
[Android Apps and Games] MrQuarc:
Hi!

Got the same problem. I already try with AutoShare to activaty K-9. I achieved to open a mail only the recipient's address (intent "SENDTO") or with attachments and all other fields (inten "SEND) but there i can't fill the recipient's address. But it's all trial and error for hours :( Does anybody have an idea?

Regards,

Marc
[Android Apps and Games] snorrski:
Hi I am trying to use intents to log in to my workplace wifi. You know, the kind where you go a web page, fill in your credentials, and click submit.

The problem here is that due to a bad certificate, the page only works in Flashfox.

So I'm using intents to open that browser and enter the correct URL. But can I also get it to fill out the forms, and submit?

Send Intent [
Action:android.intent.action.VIEW
Cat:None
Mime Type:
Data:https://10.205.1.30/login.pl?
Extra:
Extra:
Package:mobi.browser.flashfox
Class:
Target:Activity ]
[Android Apps and Games] snorrski:
I made it work. Added

Wait 10 sek

Run Shell>input keyevent 61

Run Shell>input keyevent 61

Run Shell>input keyevent 61

Dpad>Button>Press
[Android Apps and Games] francwalter:
Hello

I am looking for a way to send a photo, which I take in Tasker (Take Photo, it is in the Media Actions) directly to WhatsApp.

Someone has done this already?

I would like to save the time to find the correct intent ;)

Thanks

frank

EDIT 2015-10-01 I use AutoShare now (its about 1.50 $) and this works. Natively I don't get it to run. I asked also in the Google Group for Tasker, no solution till yet.
[Android Apps and Games] Qevinator:
Hi everybody,

I'm playing around with the Intent Received event. Read a lot about it and was able to build some pretty cool profiles. There is just one thing I don't understand, and I was hoping someone could explain it to me:

In one profile I let Tasker listen for the intent android.net.wifi.RSSI_CHANGED. The userguide explaines how to reveal the information attached to this intent:

%intent_data: the data

%evtprm1: the action

%evtprm2: the first category

%evtprm3: the second category

%evtprm4: the URI scheme

%evtprm5: the MIME type

So if the intent is received, Tasker produces above variables which you can use in tasks. All is clear till here. However, somehow the information about the signal strength is stored in the variable %newrssi. How does Tasker come up with that variable and how should I know this is another variable it produces?

Other examples:

android.net.wifi.supplicant.STATE_CHANGE produces %newstate

android.net.conn.CONNECTIVITY_CHANGE produces %networkinfo %networktype %inetcondition and %extrainfo

Where do those variables come from? Is there a way to see exactly which variables are created when a specific intent is received?

Kevin
[Android Apps and Games] ew:
Your post is very interesting and I wish I had answers for you.

Would you mind sharing some of the things you have done with intent received. It sounds fascinating.

Thanks
[Android Apps and Games] Qevinator:
Ofcourse I don't mind :)

I've got 2 Wifi signals in my home, a 2.4Ghz and a 5Ghz. I wanted to build 2 things in Tasker:

1. When I'm at home, my phone connects to the 5Ghz.

2. When the signal of the 5Ghz drops below a certain level, my phone switches to the 2.4Ghz.

How I built it:

Profile 1.

Conditons:

- Wifi Near (5Ghz signal, Min Activate Signal Level = 7)

- Connected to celltower near my home

Task:

* Switch to 5Ghz signal using "WiFi Connect" plugin

Profile 2.

Conditions:

- Intent Received (android.net.wifi.RSSI_CHANGED)

- Wifi connected to 5Ghz signal

Task:

* Switch to 2.4 Ghz signal using "WiFi Connect" plugin IF %newrssi is less than -80dbm

The intent android.net.wifi.RSSI_CHANGED contains the signal strength of the WiFi network the phone is currently connected to in dbm. This information is stored in the variable %newrssi. I know this because I read it, but I don't know where this variable is coming from. Hence my question :)
[Android Apps and Games] nwo122383:
i am trying to set up a tasker profile so that when i connect to a certain bluetooth device it will pause step counting. i have a bluetooth fm transmitter in my car and when it connects i would like it to pause step counting in S Health app on my note 5 and when disconnecting to resume step counting. the reason i want it to pause is that it sometimes counts steps when i am driving and gives false results. Also i want to have a trigger because when i pause and resume manually sometimes i forget to unpause it and then it doesnt record my steps. i know how to set up the trigger with the bluetooth device but i am not finding anyway to send the pause command to the app. i found these in the androidmanifest.xml for the S Health app

<receiver
android:name="com.samsung.android.app.shealth.tracker.pedometer.service.receiver.PedometerRequestReceiver"
android:permission="com.sec.android.service.health.permission.PEDOMETER"
android:exported="true"
android:process=":remote">
<intent-filter>
<action
android:name="android.shealth.action.PEDOMETER_STREAM_START"/>
<action
android:name="android.shealth.action.PEDOMETER_STREAM_STOP"/>
<action
android:name="android.shealth.action.PEDOMETER_KEEP_STREAM"/>
<action
android:name="android.shealth.action.PEDOMETER_SYNC_DATA"/>
</intent-filter>
</receiver>

but i am not sure if these are what i would need or not. I dont know how to tell exactly what is being sent when i hit pause in the app and resume. is there a way when i am in the S Health app and hit pause that i can find out exactly what it sends to pause the step counting so that i can achieve this. Also my device is not rooted and i would like to achieve this without root. any help would be appreciated.