Change variables from external app

Deimon

New member
Hi,
I'm trying to figure out how to connect an external app with macrodroid.
My intention is to read and modify the local variable of a specific macro, but when I launch the external application from the macro there is no option to pass values.

Is there any manual I can read to solve this problem?
Thank you
 

Deimon

New member
I thought I could use an intent, but I don't know how to connect to MacroDroid variables from the app in Java.
Do you have any knowledge in this area?

Thanks
 

MacroDroidDev

Administrator
Staff member
You will need to provide specific details of exactly what you are trying to do because what you have written is a bit vague.
 

Deimon

New member
You will need to provide specific details of exactly what you are trying to do because what you have written is a bit vague.
What I'm trying to say is that I need to find a way to access macrodroid variables from an external application.

In particular, I made a simple program with android studio that allows you to check if a whatsapp video call is in progress or has ended.
Basically this external app when the call ends, I would like it to send a request to macrodroid for changing a variable.

Or conversely if it were possible to attach an internal variable to macrodroid to send it to the external application, when it is launched.

Is it possibile?

Thanks
 

Pseudocyclic

Well-known member
It's definitely possible, and it's very easy to do, using notifications. So for example when the call ends, your Android Studio program should generate a notification, and your MacroDroid macro should use the Notification Received trigger.
 
Top