Wich trigger should I use to intercept a "shortcut activity"

Post your questions and help other users.

Moderator: Martin

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Wich trigger should I use to intercept a "shortcut activity"

Post by wfrcrd » 15 Apr 2016 20:50

HI to everyone,
here is the problem:
I have an app shortcut on my home launcher, I don't know how to
intercept (with a trigger) the shortcut activity.

I tried some but no results.
Godd result when I lanch manually the app connected to that shortcut,
but when I perform the shortcut nothing seems happens.
Thank you !

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Wich trigger should I use to intercept a "shortcut activ

Post by bogdyro » 16 Apr 2016 05:49

How is the shortcut made ? From the launcher ? Id the trigger is 'app task started' it should work regardless of where you're starting it from.
You could also make an automagic shortcut, choose whatever iccon you'd like and trigger the flow with 'shortcut'

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: Wich trigger should I use to intercept a "shortcut activ

Post by wfrcrd » 16 Apr 2016 15:46

bogdyro wrote:How is the shortcut made ? From the launcher ? Id the trigger is 'app task started' it should work regardless of where you're starting it from.
You could also make an automagic shortcut, choose whatever iccon you'd like and trigger the flow with 'shortcut'
Yes it's made by the launcher and to me seems not working, try yourself..

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Wich trigger should I use to intercept a "shortcut activ

Post by bogdyro » 16 Apr 2016 15:50

What app ? What launcher ?

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: Wich trigger should I use to intercept a "shortcut activ

Post by wfrcrd » 16 Apr 2016 17:36

I'm using nova launcher : the shortcut are made from the app "icebox" and "greenify" wich bot perform their main action:
greenify, and "freeze" app + turn off the screen

bogdyro
Posts: 241
Joined: 04 Apr 2015 15:14

Re: Wich trigger should I use to intercept a "shortcut activ

Post by bogdyro » 16 Apr 2016 19:34

I don't understand. Nova let's you do only one app|action per shortcut. If it's a shortcut created in AM then you can do all of these

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: Wich trigger should I use to intercept a "shortcut activ

Post by wfrcrd » 18 Apr 2016 13:39

I'm sorry, I'll try to be more clear.. sorry for my english and the poor knowledge of android system.

To me there are 2 type of shortcuts :
1) the one you can create from apps and usually they put the link on your "desktop" ( you can create this kind of shortcut to launch apps, to open directly one web page, to poin to a contact and so on ... )

2) the shortucuts created by apps after you installed, they can create widgets or shortucuts. These kind of shortcuts usuallay launch the app and do some actions.
You can find these kind of SC when you set some launcher or gestures launcher which point to an action when you set it ( what should I do when I swipe up on the main screen of nova launcher? You can set that wehn you swipe you can luanch a greenify shortcut wich greenify and turn the screen off)
I hope noe it's more clear...

I can't create a flow wich perform to launch more than one of those shortucut (type 2)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Wich trigger should I use to intercept a "shortcut activ

Post by Martin » 18 Apr 2016 19:09

You can usually create shortcuts to other apps using action Launch Shortcut and button Build Shortcut.
Some apps don't provide the regular way to create shortcuts but you have to create the shortcut directly within the app. The app then "sends" the shortcut to the launcher. In such cases it should work to create an action Launch Shortcut in Automagic, leave the action editing screen open and use the home button to go to the launcher, start the other app and create the shortcut. Automagic will try to intercept the shortcut. You can use the recent apps list to switch back to Automagic and to save the Launch Shortcut action.

Regards,
Martin

wfrcrd
Posts: 116
Joined: 27 May 2015 08:57

Re: Wich trigger should I use to intercept a "shortcut activ

Post by wfrcrd » 18 Apr 2016 19:35

Sorry if I insist but...

one thing it's create a SC to an app, other thing it's the SC already created from the app :
on the first case if you click the SC the app will launch and that's all.
In the second case when you click the SC the app perform an action, with no manual action needed.

I'm not interested to create SC to launch an app, i'm interested to launch the SC wich perform the actions, and another SC wich perform other action from another app.

(I hope to have well understood your reply, if it's not, i'm sorru in advice)

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Wich trigger should I use to intercept a "shortcut activ

Post by Martin » 20 Apr 2016 19:24

Maybe I don't understand what kind of Shortcut you are looking for.
The one that can be created in action Launch Shortcut usually executes some kind of action within the target app, for example open the turn-by-turn navigation in Google Maps to a predefined location.

Regards,
Martin

Post Reply