action: start app - dynamically

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
xxx
Posts: 39
Joined: 18 Mar 2013 18:51

action: start app - dynamically

Post by xxx » 08 Jun 2013 12:26

Hi,

I created a widget with 4 app icons which should be started on click.
On click the variable global_short_cut_widget will filled with value 2x2_1_x ... x is the wildcard for the number of the respective icon.

I also created a flow which is reacting on changes of the variable global_short_cut_widget.

Values will be mapped as follows and result will be stored in variable package.
2x2_1_1=>com.ebay.mobile
2x2_1_2=>com.facebook.katana
2x2_1_3=>com.android.email
2x2_1_4=>com.android.browser

Now I want to use action start app.
At the moment it seems not possible to start an app dynamically using variable package.

Is it possible to add this feature?
May be there is another solution.
I do not want to adjust the widget. The clickable action should not be reconfigured and stays as it is.
Because I want to create additional widgets with other dimensions (e.g.4x2, 4x4, ...).
To setup all this widgets with the wanted apps or adjust them later, it will be easier to do it in the flow.

Find attached the respective widget and flow:

http://automagic4android.com/flow.php?i ... 162e08f832

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

Re: action: start app - dynamically

Post by Martin » 09 Jun 2013 14:39

Hi,

I will add variable support in the next version.
Action Start Activity with action android.intent.action.MAIN, explicit component checked and field package name set to {package} should also work in most cases.

Regards,
Martin

xxx
Posts: 39
Joined: 18 Mar 2013 18:51

Re: action: start app - dynamically

Post by xxx » 10 Jun 2013 18:42

Hi Martin,

sounds good.
Thanks in advance.

Regards
Heiko

Locked