How to make this macro? the pop-up button appears only when making and receiving calls to open contacts and notepad

Fabio-BR

New member
Hello, I ask for help in this expert forum. My phone does not allow me to access anything while making or receiving calls. I often need to pass a phone number to someone in my contacts or write some data and I can't. I would like to make a macro that would open a pop-up button on the screen when making or receiving calls. The function of this pop-up button would be to open my contact list or to open the notepad.

Thanks!

Note:I apologize because I forgot to translate the text into English:unsure:😴
 
Last edited:

Chris

New member
Maybe this works

T: call received
A: option dialog > macro 1 and macro 2
C: none

Macro 1:
T: empty trigger
A: open notobook
C: none

Macro 2:
T: empty trigger
A: open contacts
C: none
 

MacroDroidDev

Administrator
Staff member
You could create a macro like this possibly:

Macro 1
T -> Phone call active
T- > Phone call ended
A -> If (Phone call active)
A -> Enable Macro2
A -> Else
A -> Disable Macro2
A -> Endif

Macro2
T -> Floating Button
A -> Do Something
 

Fabio-BR

New member
You could create a macro like this possibly:

Macro 1
T -> Phone call active
T- > Phone call ended
A -> If (Phone call active)
A -> Enable Macro2
A -> Else
A -> Disable Macro2
A -> Endif

Macro2
T -> Floating Button
A -> Do Something
Thank you for your help!
Sorry for my layman question: how do I do the last step?
(Macrodroid 5.11.4 Pro)
 
Last edited:

FrameXX

Well-known member
Thank you for your help!
Sorry for my layman question: how do I do the last step?
(Macrodroid 5.11.4 Pro)
You can just open contacts app as an action.

Or if you want some specific screen you can launch an intent.

For example this intent would launch starred contacts in google contacts app:

Action=android.intent.action.MAIN
Package Name=com.google.android.contacts
Class Name=com.google.android.contacts/com.google.android.apps.contacts.starredcontacts.StarredContactsActivity

For finding intents i reccomend Shortcut Maker. MacroDroid can launch shortcuts directly from it and it's easy to use.

Also. Don't feel sorry about any question made here.
 
Top