A macro to enable/disable touch

gkld

New member
Hi everyone,

I'm really frustrated with my phone's proximity sensor—it keeps accidentally touching the screen during calls, and it's driving me crazy!

I found a macro from the template store(link) that disables touch, but it only re-enables when I shake the phone. I'd love some help modifying this macro.

I'm trying to create a MacroDroid setup, and I need some help to achieve a specific functionality during phone calls.

What I'm aiming for:
  • Floating Button: A floating button should appear as soon as I make or receive a call.
  • Toggle Touch: I want this button to allow me to toggle the touch screen on or off during the call.
  • Post-Call Functionality: After the call ends, I’d like the button to remain available. If I decide to use the speaker for the next call, I can press this button to enable the touch. Later, I should be able to disable it again with the same button if needed.
Essentially, this floating button will serve as the trigger to toggle touch on or off during calls.

I've attached the basic framework of what I have so far. Any guidance or tips on how to implement this in MacroDroid would be greatly appreciated!

Thanks in advance for your help!
 
Last edited:

Qarboz

Well-known member
Hi everyone,

I'm really frustrated with my phone's proximity sensor—it keeps accidentally touching the screen during calls, and it's driving me crazy!

I found a macro from the template store(link) that disables touch, but it only re-enables when I shake the phone. I'd love some help modifying this macro.

I'm trying to create a MacroDroid setup, and I need some help to achieve a specific functionality during phone calls.

What I'm aiming for:
  • Floating Button: A floating button should appear as soon as I make or receive a call.
  • Toggle Touch: I want this button to allow me to toggle the touch screen on or off during the call.
  • Post-Call Functionality: After the call ends, I’d like the button to remain available. If I decide to use the speaker for the next call, I can press this button to enable the touch. Later, I should be able to disable it again with the same button if needed.
Essentially, this floating button will serve as the trigger to toggle touch on or off during calls.

I've attached the basic framework of what I have so far. Any guidance or tips on how to implement this in MacroDroid would be greatly appreciated!

Thanks in advance for your help!

With the mobile button you can turn touch off, but when touch is off you cannot interact with the display, even on the mobile button. To turn touch on you have to use other triggers, e.g., shaking device or screen off (which you can get by pressing the power button)
 

gkld

New member
can you help me by modifying the macro. I do not know how to do those all.
thank you for the help..
 
Top