Hi there
I have a few automation apps but since getting Automagic the others have gone by the by. I have recently discovered one little setback though and I am hoping someone can help me out as I am sure there will be a way to do this.
I have an app that can take parameters from Tasker to perform the function. This works using Taskers "Launch App" feature and putting the parameter in the Data field.
It would be great if I could get this working with Automagic, but the "Launch App" for Automagic does not have this feature.
Any ideas on how this can be achieved?
Cheers
Launch App with Parameter
Moderator: Martin
Re: Launch App with Parameter
Hi,
You can use action Start Activity if you want full control over the intent used to start the app.
To start an app you should usually use following configuration:
Action: android.intent.action.MAIN
Category: android.intent.category.LAUNCHER
Data URI: <the value you like>
Explicit Component: checked
Package Name: <the app to start>
Class Name: <the activity to start>
The examples-button in the action also contains templates for some common configurations.
Regards,
Martin
You can use action Start Activity if you want full control over the intent used to start the app.
To start an app you should usually use following configuration:
Action: android.intent.action.MAIN
Category: android.intent.category.LAUNCHER
Data URI: <the value you like>
Explicit Component: checked
Package Name: <the app to start>
Class Name: <the activity to start>
The examples-button in the action also contains templates for some common configurations.
Regards,
Martin
Re: Launch App with Parameter
OMG, that's amazing.
Thank you so much Martin. I suspected it was an intent but couldn't get it right. Can't believe I put up with it how it was for so long.
Thanks also for a great product by the way... I've been through a couple but Automagic is so intuative and versatile that it has easily outclassed the rest.
Cheers
Thank you so much Martin. I suspected it was an intent but couldn't get it right. Can't believe I put up with it how it was for so long.
Thanks also for a great product by the way... I've been through a couple but Automagic is so intuative and versatile that it has easily outclassed the rest.
Cheers