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
action: start app - dynamically
Moderator: Martin
Re: action: start app - dynamically
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
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
Re: action: start app - dynamically
Hi Martin,
sounds good.
Thanks in advance.
Regards
Heiko
sounds good.
Thanks in advance.
Regards
Heiko