yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ykumar00:
I'm trying to do the same too, can you please look at this:

http://stackoverflow.com/questions/525204/android-download-intent

The answer looks promising....

Also how about this:

http://developer.android.com/reference/android/app/DownloadManager.html

Also, I would like to point out that Google chrome uses this intent, as chrome downloads are carried out by android download manager....Maybe that will help.

Thanks!!
[Android Apps and Games] Sushibagel:
I want to start off by saying this is a great thread. It helped me clean up and create several profiles.

I need some help with something I'm trying to do. I want to be able to send and intent to my Google Calendar. I've been able to open the Calendar app event edit screen using the code below. I want to be able to add an event start time though (yes I know Tasker has a built in calendar insert but that doesn't let you set a notification/reminder). From the research I've done I think I need to use dtstart in the "Extra" line but I cant seem to get it to work. Any help would be appreciated.

Action: android.intent.action.EDIT

Cat: Default

Mime Type: vnd.android.cursor.item/event

Extra: title:"insert my title"

Target: Activity
[Android Apps and Games] RiseUp:
Hi beatschubser,

How about changing the Action to:

android.intent.action.VIEW

Does that help?

---------- Post added at 10:29 PM ---------- Previous post was at 10:12 PM ----------

What happens when you try setting dtstart in the extras? Does it set the event to a wrong start time? Or maybe some other type of error...?
[Android Apps and Games] Sushibagel:
When I put in dstart nothing happens. Unless I'm doing it wrong or something...

Ive tried:

dstart:"time in milliseconds"

dstart:"00.00"

DSTART:"both of the above"

edit: smiley fail
[Android Apps and Games] RiseUp:
When you use the time in milliseconds, you are using the Unix time, right? In other words, it shouldn't be simply the time-of-that-day in milliseconds, but rather the number of milliseconds from 1970-01-01T00:00:00Z.

Thankfully, Tasker has a built-in capability of converting to that time format. Use the Variable Convert action with its function set to "Date Time to Seconds", and then multiply that value by 1000 to get the time in milliseconds.

As an example, if you wanted the event's start time to be 11:00 pm tonight, you would start out with a variable (let's call it %eventStart). Set %eventStart to the value of:

20140213 23.00

It must be in that format for Tasker to understand it properly. Then use Variable Convert to get it over to seconds, and multiply the variable by 1000. Then, at that point, you can use:

dtstart:%eventStart

Try that and let me know how it goes.
[Android Apps and Games] Sushibagel:
Didn't work unless I did it wrong. Here's what I tried for testing purposes:

Variable Set:

Name: %CalendarEntry

To:20140213 23.00

Variable Convert:

Name: %CalendarEntry

Function: Date Time to Seconds

Store Results In:%eventStart

Variable Set:

Name:%eventStart

To:%eventStart*1000

Do Maths is checked.

Send Intent:

Action: android.intent.action.EDIT

Cat: Default

Mime Type: vnd.android.cursor.item/event

Extra: dstart:%eventStart

Extra: title:"insert my title"

Target: Activity
[Android Apps and Games] beatschubser:
That doesn's seem to work either. But I found another solution: The Secure Settings-plugin for tasker lets you easily select all available intens from any app.

Maybe it's interesting for other users as well: Go to Plugin/Secure Settings/Configuration/Actions/Launch Activity

It even shows way more activities for TuneIn Radio than the Trigger-app does.
[Android Apps and Games] RiseUp:
OK, I think I have figured it out... :fingers-crossed:

There are two things to change:

Change "dtstart" to "beginTime" (without the quotes)

Add the letter "L" (also without quotes) directly to the end of the milliseconds value you have for start time

Adding the L to the end of the number tells Tasker to treat it as a number of the type LONG, as opposed to INTEGER or STRING.

Here's to hoping we're at least one step closer...
[Android Apps and Games] Sushibagel:
That works! Thanks! I was actually reading about the long part this afternoon on the Tasker wiki I just didn't quite understand what it meant

Edit: Okay, so this leads me to my next question now. So now that I got that working and I have both slots for "Extra" filled in. If I wanted to also add some other stuff, a description or location for example. Is there a simple way to do this?
[Android Apps and Games] RiseUp:
Great! Glad that's working now.

As for using more than two "extras", Tasker does not yet support that. The only way I think it can be done is sending the intent using shell commands instead of Tasker's Send Intent action.
[Android Apps and Games] DentalDenist:
sharing file (image or audio) ??

"I've been trying to Share a file (Audio .wav specifically, but images too) WITH NO SUCCESS!

anybody got it working somehow? to share a file and add it as an attachment like in email, sms, gmail, whatsapp even etc

tried MANY ways and different combinations with no success....

thanks for the help in advance.
[Android Apps and Games] supergg02:
IP webcam start/ stop

to start IP webcam

Send Intent [

Action:

Cat: Default

Mime Type:

Data:

Extra:

Extra:

Package:com.pas.webcam

Class: com.pas.webcam.Rolling

Target:Activity ]

it works to start IP Webcam server, but i'm not able to stop with a tasker intent !

I found java code to stop it by sendBroadcast(new Intent("com.pas.webcam.CONTROL").putExtra("action", "stop")); (google it)

i do same thing with tasker intent but it not works (any help, please ?)

here is my tasker intent to stop ip webcam:

Send Intent [

Action:

Cat:Default

Mime Type:

Data:

Extra: action:stop

Extra:

Package:com.pas.webcam.CONTROL

Class:

Target:Broadcast Receiver ]
[Android Apps and Games] RiseUp:
supergg02,

Does it work if you make this change:

Cat: None

If that doesn't work, change these two fields to the following:

Package: com.pas.webcam
Class: com.pas.webcam.IPWebcamControl

Let me know if any of that works.
[Android Apps and Games] e154037:
I uses ClipIntent to view the manifest of an apk by. The catched intent to send a apk to ClipIntent is:

ACTION: android.intent.action.SEND

DATA: null

TYPE: application/*

FLAGS:

FLAG_GRANT_READ_URI_PERMISSION

FLAG_ACTIVITY_FORWARD_RESULT

FLAG_ACTIVITY_PREVIOUS_IS_TOP

EXTRAS:

EXTRA 1:

Class: java.lang.String

Key: android.intent.extra.SUBJECT

Value: /storage/emulated/0/Download/mobogenie_1541-1.apk

EXTRA 2:

Class: android.net.Uri$HierarchicalUri

Key: android.intent.extra.STREAM

2 ACTIVITIES MATCH THIS INTENT:

Email (com.android.email - com.android.email.activity.ComposeActivityEmail)

ClipIntent Free (net.fro9.android.app.clipintentfree - net.fro9.android.app.clipintentfree.ClipIntentActivity)

I used the above info to make a tasker's send intent command as:

Action:android.intent.action.SEND

Cat:Default

Mime Type:application/*

Data:

Extra:android.intent.extra.SUBJECT:/storage/emulated/0/Download/mobogenie_1541-1.apk

Extra:android.intent.extra.STREAM

Package:net.fro9.android.app.clipintentfree

Class:net.fro9.android.app.clipintentfree/.ClipIntentActivity

Target:Activity

When the command was run in Tasker, ClipIntent appeared but was frozen.

What can be wrong? WOuld you please help.

In addition, I run the following cmd in Terminal emulator as su witout success:

am start -a android.intent.action.SEND -n net.fro9.android.app.clipintentfree/.ClipIntentActivity -t application/* -f FLAG_GRANT_READ_URI_PERMISSION="true" -f FLAG_ACTIVITY_FORWARD_RESULT="true" -f FLAG_ACTIVITY_PREVIOUS_IS_TOP="true" --es android.intent.extra.SUBJECT:/storage/emulated/0/Download/mobogenie_1541-1.apk --eu android.intent.extra.STREAM

or

am start -a android.intent.action.SEND -n net.fro9.android.app.clipintentfree/.ClipIntentActivity -t application/* --es android.intent.extra.SUBJECT:/storage/emulated/0/Download/mobogenie_1541-1.apk -e android.intent.extra.STREAM

Would you please comment.
[Android Apps and Games] mety333:
Try putting the file path after STREAM rather than the subject.

Sent from my beautiful purple friend Xperia Z.

..........Technology Discovery..........

http://www.technology-discovery.com
[Android Apps and Games] abestboy:
It's a useful idea.

Thanks for sharing and have a good day! :)
[Android Apps and Games] e154037:
Launch application dtail page in Settings

To launch application dtail page in Settings, get package name of the app and then

call Tasker's "Send Intent" with the following params

Action:android.settings.APPLICATION_DETAILS_SETTINGS

Data: package:%pkg

Traget:Activity

---------- Post added at 09:58 PM ---------- Previous post was at 09:51 PM ----------

It will be OK, if you provide class name (com.google.android.keep.activities.BrowseActivity).
[Android Apps and Games] p-bot92:
Immersive Mode?

I know there has to be a way to trigger immersive mode with an intent...but I cant seem to find out how. Does anyone know?
[Android Apps and Games] Sushibagel:
Saw this on reddit the other day

This guy did it using a intent on gravitybox

gravitybox.intent.action.TOGGLE_EXPANDED_DESKTOP
[Android Apps and Games] p-bot92:
Yeah I saw this... But I can't seem to get it working for some reason. I use gravitybox too. I don't know what's wrong. I may be missing a setting. The guy on reddit wasn't very specific in his explaination.

EDIT:

Got it working! I assumed that it would be an activity but it turns out that it was a broadcast receiver!
[Android Apps and Games] cramu:
https://github.com/GravityBox/GravityBox/pull/550
[Android Apps and Games] supergg02:
It works !! with this code:

Package: com.pas.webcam
Class: com.pas.webcam.IPWebcamControl

Thanks a lot
[Android Apps and Games] Landrea:
Man , you're the BEST!
[Android Apps and Games] azertguigui:
Hi everybody and thanks for this thread, it helped me to launch a tag in Shazam

What I'd like to know now, is how to launch a new sms window with HoverChat

Thanks for your help !
[Android Apps and Games] Sushibagel:
Is HoverChat your default sms app? if it is the sms intent listed in the OP should do it.
[Android Apps and Games] azertguigui:
Yes it is my default sms app, but making "Compose new SMS" with Tasker only sends me to the conversation panel, it doesn't create a new text

Edit : Oups I haven't seen such an intent, I didn't know it was different from "Compose new SMS" in the Tasker UI. I'm going to try
[Android Apps and Games] Sushibagel:
Use this one I installed HoverChat just to verify and it works.
[Android Apps and Games] azertguigui:
Many thanks my friend :good:

---------- Post added at 10:53 PM ---------- Previous post was at 10:22 PM ----------

Ok in fact it only works with a preset phone number, I want it to work every time, and to let me choose the number when I create the text...

-From my Nexus 4-
[Android Apps and Games] RiseUp:
You're welcome! :victory:
[Android Apps and Games] jahaangle:
I'm looking for a way to launch a voice action automatically, I'd like Google now to launch in the morning and read the weather. I can get it to display the weather easily enough but can't get it to automatically search by voice. Is there an action intent I can use to do this?
[Android Apps and Games] badhri:
These two links could be of help to you

http://tasker.wikidot.com/weatherspeakattimeofday

http://tasker.wikidot.com/automatic-location-weather-speak
[Android Apps and Games] Alsybub:
PowerAMP API Intent

I'm trying to work out how to send intents to poweramp. So far with very little luck.

I need to be able to start playback of individual tracks and whole albums. I'm able to get the ids from the database but am unable to work out how to write the intent. I can't even get a simple command like play/pause to work. Even though Poweramp has a public API for this very purpose I can find very little documentation. The official site just says to look at the source and you can work it out but not being a seasoned Android programmer I have no clue how to understand how the intent is built by the app and therefore what the final intent would look like.

From what I can understand it should be, for example, to stop playback:

Action: com.maxmpz.audioplayer.API_COMMAND

Extra: COMMAND

Extra: Commands.STOP

Sent to broadcast

But it has no effect.

Has anyone tried this and been successful?

Help would really be appreciated.

Thanks.
[Android Apps and Games] shemantis:
I'm trying to launch the Google+ "share your locations" screen with a homescreen shortcut (so I can "check in" with two clicks).

I can't find the intent for that specific screen, neither by Googling or using Secure Settings.

Anyone have an idea? Thanks!!
[Android Apps and Games] Soy_Filipo:
Is there an intent to toggle autosync on and off? I've been breaking my noodle thinking about how to turn it on and off without changing the rom, I'm using shiny rom for my Gnex which is the best rom available for my gnex and there is no support for the autosync toggle on tasker, so I guess I must do it via intents and I dont wanna buy or download llama just for that... with xposed and gravity box I was able to get the toggle on my quick settings toggle, but I can't seem to find how to make it work with an automated task
[Android Apps and Games] nyx528:
There's an auto sync setting in Tasker, no script needed...

~ from my Moto X

Because I'm Batphone
[Android Apps and Games] lazik:
Is there any possibility to change Hardware Overlays option under Developement menu by using Taskers Intent action? Where can I find how to toggle menu options with this method?
[Android Apps and Games] ew:
You can do that with the paid version of the Secure Settings app available on the play store. Great app to have.
[Android Apps and Games] lazik:
About Secure Settings I know. I have this app and know. This feature is available only in paid version. I just look for other method to change this menu option and not using 3rd party plugins.
[Android Apps and Games] nitephlight:
I believe you can change system settings through shell cmd:

http://chislonchow.wordpress.com/2013/02/14/new-command-line-tool-settings-in-android-4-2/
[Android Apps and Games] shortout:
Hi, just wondering if anybody can help me with the intent received side of tasker. I've got a nexus 5 which is rooted with gravity box installed. I'm currently using send intent to title gb's torch function using a minimalistic text widget and a tasker profile. What I'm hoping to do is get my widget to display the on/off status from gb. Just can't work out how to get the info out of gb. Have found the intent gravity box.intent.action.TORCH_STATUS_CHANGED with extra field torchStatus and 1, 0 or -1 being on, off or error respectively. Anyone able to help me set this up would be greatly appreciated. Thanks in advance.
[Android Apps and Games] heather1209:
I've been trying this one for days. Does anyone know how I can send an intent to my messaging app to change the unread badge on the icon?

Here's the manifest: dl.dropboxusercontent.com/u/8928053/AndroidManifest.xml

And here's the classes.dex file turned to .jar: dl.dropboxusercontent.com/u/8928053/classes-dex2jar.jar

(sorry, I'm not able to post links yet)

I'm pretty sure I need the following:

Action: com.htc.launcher.action.ACTION_ITEM_ADDED

Cat:

Mime Type:

Data:

Extra:

Extra:

Package: com.htc.sense.mms

Class: .ui.MessagingShortcut (or .ui.MessagingShortcutReceiver)

Target: Activity or Broadcast Receiver

but I don't know what to put for data or extra to tell it what number to set the unread count at. I've tried mNewInconmingMsgCount:1 without any success and can't figure out anything else =(
[Android Apps and Games] hotsync100:
I have a motox and I would like to know if it is possible to intercept Moto Assist Intents with tasker, to activate my driving profiles.. I know that I could do it by several ways, but MotoX has the Moto Contextual and Modality Services, that uses the low power processor to detect when I'm driving (using ambient audio signals)

I looked the AndroidManifest.xml file and saw this receiver, but it does not work when I use it on a Intent Received Event profile. Could you help me?

<receiver android:name="com.motorola.assist.engine.mode.activity.drive.DriveModeReceiver" android:permission="com.motorola.context.permission.CONTEXT"

android:enabled="false">

<intent-filter>

<action android:name="com.motorola.context.CONTEXT_CHANGE" />

<data android:mimeType="context/com.motorola.context.publisher.InVehicle" />

</intent-filter>

<intent-filter>

<action android:name="com.motorola.context.CURRENT_STATE" />

</intent-filter>

</receiver>

View attachment AndroidManifest.xml.txt
[Android Apps and Games] shortout:
Worked this one out. Tasker see's the extra content as a local variable, but all characters have to be lowercase.
[Android Apps and Games] isaak:
I need to know how to collapse status bar using a new intent (don't tell me why I don't use default function).

Send Intent [

Action:

Cat:

Mime Type:

Data:

Extra:

Package:

Class:

Target:

]

Any help is appreciated.

Thank you.
[Android Apps and Games] dhottinger:
Toodledo

Add task to Toodledo:

Send Intent [
Action:com.google.android.gm.action.AUTO_SEND
Cat:None
Mime Type:text/plain
Data:
Extra:android.intent.extra.TEXT: Title of task
Extra:
Package:com.kiwlm.mytoodle
Class:com.kiwlm.mytoodle.TaskEditActivity
Target:Activity
]

Uses the "note to self" intent. This should work for Google Keep as well by changing Package/Class. Use e.g. Intent Intercept from the play store to find the right values.
[Android Apps and Games] 93Akkord:
Try this.

This works for play/pause.

Action: com.maxmpz.audioplayer.API_COMMAND

Extra: cmd:1

Target: Service

I haven't tried this one, let me know how it goes. You would have to play around with it.

Action: com.maxmpz.audioplayer.API_COMMAND

Data: content://com.maxmpz.audioplayer.data/folders/94/files

Extra: cmd:20

Target: Service

You can get a better understanding from here.

Now I just wish Spotify would play nicely with receiving intents.
[Android Apps and Games] epicurean:
tweetcaster Premium

Would anyone know the intent to trigger a refresh or update of Tweetcaster? Much Thanks
[Android Apps and Games] ub3rprogmr:
Hello folks,

please enlighten me .

I'd like to create a Tasker Profile to automate backing up some files on my phone to Dropbox via Send Intent Action.

How does a Send Intent Action for Dropbox need to look like in Tasker?

Help is much appreciated.

Thank You!﻿
[Android Apps and Games] jugg1es:
You could use an app like dropsync or cloudpipes to backup to Dropbox, they both have tasker integration

“Our great democracies still tend to think that a stupid man is more likely to be honest than a clever man.”*―*Bertrand Russell
[Android Apps and Games] salti85:
Hi,

I tried this, but it dont work. Could someone help me? Maybe it is allready outdated?

UPDATE: It works now. I forgot the .action in the action-path :)
[Android Apps and Games] yochananmarqos:
I know I'm a Tasker n00b, but it appears using Send Intent should be easy. However, I can't find it. There is no Misc. What am I missing?
[Android Apps and Games] heather1209:
It's under system. You can also use filter to search if you ever need something and can't find it.
[Android Apps and Games] yochananmarqos:
Thanks! I couldn't find any info anywhere that said that.
[Android Apps and Games] 123freewill123:
Navigon: Start Map Screen via Intent Action

Hi All,

I would like to automatically start my Navigon app at a certain speed by bypassing the start screen, jumping directly to the map screen. Is this possible to do via intent action, or is there even another more simple way?

Any help appreciated,

Frank
[Android Apps and Games] empteeone:
Automatically send an email

So, as a newbie, I am really struggling to figure out how to use intents. With Llama, I am trying to set it up, so that when I leave a location, it automatically sends an email to a specific address. The background is, I want to be able to let my wife now when I leave work so that she has an idea when I will be home. So it is to specific address, and I can adjust the message based on the area. All I would want is for the email subject to say "Leaving X".

Any help, and maybe an explanation of how the info in llama links to the java (so I can learn a bit at the same time) would be great.
[Android Apps and Games] empteeone:
Just so that this little one on the thread is closed down... it seems you can't automatically send an email using intents with Gmail, so rather than bother to set up an email client etc, I just bought the Locale Sendsilentmail plug-in which does the job wonderfully.
[Android Apps and Games] supermaxkato:
htc weather send intent?

Can someone help me command the htc full-screen weather animations, on my rooted htc evo 3d, using tasker send intent?

The apk is: htcweatherwallpaper.apk and is in the system/app folder

Android manifest says these are the intents:

com.htc.weatherwallpaper.service.intent.action.SHOW_WEATHER_WALLPAPER

com.htc.weatherwallpaper.service.intent.action.HIDE_WEATHER_WALLPAPER

And here is a log cat of what happens when the animations are running:

I/ActivityManager( 412): Start proc com.htc.WeatherWallpaper for service com.htc.WeatherWallpaper/.WeatherWallpaperService:

pid=9114 uid=10074 gids={3003}

D/libc ( 9114): pt_debug : __thread_entry->func=0x408c8461

V/[WeatherOverlay]( 9114): animationID:2

V/[WeatherOverlay]( 9114): Start to play transition!

I/Adreno200-EGLSUB( 9114): <ConfigWindowMatch:2087>: Format RGBA_8888.

V/[WeatherOverlay]( 9114): gigi wallpaper onDestroy

D/Process ( 412): killProcessQuiet, pid=8884

D/Process ( 412): dalvik.system.VMStack.getThreadStackTrace(Native Method)

I/[WeatherOverlay]( 9114): MSG_KILL_PROCESS

D/Process ( 9114): killProcess, pid=9114

D/Process ( 9114): com.htc.WeatherWallpaper.WeatherWallpaperService$U IHandler.handleMessage(WeatherWallpaperService.jav a:164)

I/ActivityManager( 412): Process com.htc.WeatherWallpaper (pid 9114) has died.

I just need to know how to execute that same info through tasker.

Anyone?
[Android Apps and Games] megamorphg:
Tasker Intent Xprivacy... Current Activity?

Hey guys I'm trying to make an intent that sends the current activity's Uid to Xprivacy so that I can change its settings directly...

I have this so far and currently I'm just missing the Uid to make it work..

How can I make it fetch the current Uid??

i tried asking the developer and he just dodges the question like "oh don't ask questions on GitHub"

It's a simple question.. and he won't answer it.

Anyway thanks for any help you provide!
[Android Apps and Games] jkt97401:
Anyone know how to send an intent to HTC Extreme Power Saver app to turn it on and off? I can turn it on by launching the activity but I can't turn it off, I think I need to send intent but can't quite figure it out
[Android Apps and Games] drsood:
Under tasker, set a task and add shell script action and do enable "RUN AS ROOT"

Now paste this command:

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

i personally use this task with gmd gesture

Tip: try searching tasker's forum for such tasks :good:
[Android Apps and Games] megamorphg:
Awesome! I have no idea what I just typed in but it works! Thanks!

P.s.: i had no luck finding any xprivacy stuff on the tasker forum
[Android Apps and Games] sewright22:
Google Keep

Does anyone know if it is possible to send an intent to add an item to an already existing list in Keep?
[Android Apps and Games] guttermonk:
I'm also interested in using Tasker to append a specific note in either Evernote or Google Keep.

For example, open the Groceries list (which contains Beer and Pizza) and add diapers.