Enable Gesture or keys

Ilforte

New member
Hi everyone,
I have a Xiaomi Mi11Lite and I would like to manage the "system navigation" (with gesture or keys) through a widget button (for example) without having to search in the settings.
Do you know if it's possible without ADB or Root hack?
I have installed the SETEDIT app but I don't know which table and parameter it corresponds to.
Thanks
 

FrameXX

Well-known member
You can't directly change these settings without root and I have feeling it's not even part of any settings table so ADB permissions also may not help you.

Without root you could just open navigation settings with intent, but I couldn't find the right intent.
 
Last edited:

MacroDroidDev

Administrator
Staff member
You could use a series of UI Interaction actions (with appropriate wait before next between them) to auto navigate to the correct pages within the settings and automate the settings that way.
 

Ilforte

New member
You could use a series of UI Interaction actions (with appropriate wait before next between them) to auto navigate to the correct pages within the settings and automate the settings that way.
Thanks!
that's just what i tried to do but sometimes the click doesn't take it in the established position, i try to make a video and show you
 

Ilforte

New member
In the video you can see that in the SETTINGS (Impostazioni) menu, for the option I need "Home Screen" ( Schermata Home), I have to scroll.
I have tried to replicate this scroll in various ways, but almost always the screen scrolls differently than before and the next CLICK is performed in the wrong position.
In the Action block "Open settings" of the Macro, the Gesture that you also see in the screenshot I have changed several times, but it is not reliable.
 

Attachments

  • Abilita-disabilita_gesti.macro
    10.3 KB · Views: 1
  • Macro_Action block.jpg
    Macro_Action block.jpg
    53.8 KB · Views: 5
  • video_2022-01-26_09-07-25.gif
    video_2022-01-26_09-07-25.gif
    5.7 MB · Views: 5

Ilforte

New member
I finally solved without Macrodroid with the "Shortcut maker" app, suggested by a user in another thread.
Thanks anyway
 

Ilforte

New member
Thanks so much! you are right, this is much more comfortable.
I add the Intent in case it will be useful
 

Attachments

  • Intent_Macro.jpg
    Intent_Macro.jpg
    50.4 KB · Views: 3

Ilforte

New member
A courtesy: how could I do, by pressing the button on the notification bar (in the case set by me) through the UI / Click interactions to press "Alternatively" Keys or Gestures?
 

Attachments

  • photo_2022-01-27_12-39-29.jpg
    photo_2022-01-27_12-39-29.jpg
    47.5 KB · Views: 3

Ilforte

New member
Meanwhile, I remedied by creating two "button on the notification bar" and using the IF conditions I activate one or the other action.
I write it in case it will be useful.
 

Abalsam

Active member
Meanwhile, I remedied by creating two "button on the notification bar" and using the IF conditions I activate one or the other action.
I write it in case it will be useful.
If the two use cases are opposites such as on vs off, you could keep track of which was done last with a variable and do the other next time the macro is run.
 

Abalsam

Active member
It's a simple if command at the start of the macro and making sure you reset the variable to its new value at the end of the task.

For example:

If the variable state is true
- Turn off setting
- Set variable state to false
Else
- Turn on setting
- Set variable state to true
End if
 

Abalsam

Active member
I did it!
thanks a lot guys you are amazing!
This is my Macro
This is why I really like MacroDroid, with it's features/options you can do virtually anything.

Now that you have taken the first step, what else could you automate to make your life easier? Experiment, play and ask for help/guidance when you need it.
 
Top