Data Parameters in "Launch App" function

422 views
Skip to first unread message

Derbo

unread,
Nov 2, 2014, 6:23:06 AM11/2/14
to tas...@googlegroups.com
Hello, i'd like to know if it's possible to create a script that let me simulate the click on a whatsapp, messages, ecc.. notification and open the relative app directly inside the conversation notified (as it happens when i normally click on these kind of notifications). I've tried using autonotification plugin and launchapp function and now i'm able to open the app relative to the notification but not the conversation notified. I do not know if i've to give a particular parameter through Data inside Launch App, any advice? Thank you all. 

Pent

unread,
Nov 2, 2014, 7:18:55 AM11/2/14
to tas...@googlegroups.com
It's device-specific, you'd have to know what the launched app wants to see in Data.

Probably there's a conversation sub-activity, have you tried launching that instead of the main
app (long-click the icon in the Launch App screen) ?

Pent

Derbo

unread,
Nov 2, 2014, 7:46:18 AM11/2/14
to tas...@googlegroups.com
How can i understand which is the sub-activity that i've to launch? Is the Launch App Screen the one in the screenshot? Where do i have to long-click? Sorry i'm noob :D
Screenshot_2014-11-02-13-40-50.png

Jay M

unread,
Nov 2, 2014, 8:09:36 AM11/2/14
to tas...@googlegroups.com

Task/app/launch app/long press on whatsapp.

Jay M

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Derbo

unread,
Nov 2, 2014, 8:18:53 AM11/2/14
to tas...@googlegroups.com
Thank you Jay M, for example which is the activity in Whatsapp that i've to choose to directly open the conversation realtive to the notification? Could you give me an example? Thank you.

Jay M

unread,
Nov 2, 2014, 8:29:12 AM11/2/14
to tas...@googlegroups.com

I dunno I don't think there is one.

Jay M

Rich D

unread,
Nov 2, 2014, 9:27:31 AM11/2/14
to Tasker Google Groups Post


> Thank you Jay M, for example which is the activity in Whatsapp that i've to choose to directly open the conversation realtive to the notification?

Simple answer.. try them all, if none of them  work then there is not one...  

Derbo

unread,
Nov 2, 2014, 9:27:44 AM11/2/14
to tas...@googlegroups.com
I'm trying to use "Send Intent", but i'm stuck, i've tried with SMS:

Action: android.intent.action.VIEW
Cat: None
Data: #####
Package: com.htc.sense.mms
Target: Activity

I can't understand if there's a variable of autonotification that let me catch the which conversation i've to open. I do not know if there's a way to do that, thank you for any help.

Jay M

unread,
Nov 2, 2014, 10:37:21 AM11/2/14
to tas...@googlegroups.com

Have a look at the intents in the messaging apps manifest. you can do that with this.

https://play.google.com/store/apps/details?id=com.electricsheep.asi

I had a website bookmarked that listed all the auto notification variables but I recently wiped my phone and lost it should be easy for you to find though.

Jay M

Reply all
Reply to author
Forward
0 new messages