Samsung Fold 4 Open/Closed functionality

KeitherDuder

New member
Hi!
Full disclosure - I'm new!
Loving this app so far!
I also have a new phone, the Samsung Fold 4, and I cannot for the life of me find a constraint that allows MacroDroid to differentiate when I have my phone 'folded' or 'closed' - vs. 'unfolded' or 'opened'.

I am trying to automate a few things, for example, I want MacroDroid to set a wallpaper of my favorite team when the game kicks off. On a normal phone, you'd just
T: App notification containing team name and kickoff
A: set wallpaper of team
C: no constraints
However, depending on if my phone is folded open or closed - this results in MacroDroid only setting the wallpaper in the one current state (open, or closed) at the time of trigger. There currently seems to be no option to set both wallpapers, or for me to choose which wallpaper I want it to set to.

I am also trying to achieve automated screen clicks with x, y, coordinates. As you can imagine, it's a nightmare trying to make sure the click hits its target between the 2 screens, and various screen orientation possibilities.

Any help would be amazing! I've tried System and Global Aspect Ratios as a Constraint (to no avail), I've tried many different variations to get MacroDroid to fire at the right screen with the right orientation and have gotten so close... but there has to be something I'm missing or need to learn that will work. Or perhaps this is a functionality that MacroDroid is working on for these new Fold phones?

Thanks again for any help / insight / direction!
 

FrameXX

Well-known member
I presume that if you fold the phone the screen resolution changes hence if you want to check if the screen is folded you could save the screenX and screenY into variable and then use constraint if variable = xy. This of course depends on MacroDroid getting different x or y values if screen folded/unfolded.
 

Dimlos

Well-known member
I don't have this device so I can't verify this, but maybe this information will help.
 
Hi!
Full disclosure - I'm new!
Loving this app so far!
I also have a new phone, the Samsung Fold 4, and I cannot for the life of me find a constraint that allows MacroDroid to differentiate when I have my phone 'folded' or 'closed' - vs. 'unfolded' or 'opened'.

I am trying to automate a few things, for example, I want MacroDroid to set a wallpaper of my favorite team when the game kicks off. On a normal phone, you'd just
T: App notification containing team name and kickoff
A: set wallpaper of team
C: no constraints
However, depending on if my phone is folded open or closed - this results in MacroDroid only setting the wallpaper in the one current state (open, or closed) at the time of trigger. There currently seems to be no option to set both wallpapers, or for me to choose which wallpaper I want it to set to.

I am also trying to achieve automated screen clicks with x, y, coordinates. As you can imagine, it's a nightmare trying to make sure the click hits its target between the 2 screens, and various screen orientation possibilities.

Any help would be amazing! I've tried System and Global Aspect Ratios as a Constraint (to no avail), I've tried many different variations to get MacroDroid to fire at the right screen with the right orientation and have gotten so close... but there has to be something I'm missing or need to learn that will work. Or perhaps this is a functionality that MacroDroid is working on for these new Fold phones?

Thanks again for any help / insight / direction!
Hello, I'm also a zf4 owner, and also had this problem. The way i could solve it was with Bixby Assistant.
Since it's native, it has control over deep things in the system. So we just need a way to create a link between MD and BA.
And it's easily accomplished with notifications!
I've set some Bixby Routines to display a notification with "opened" everytime I open the zf4 (it has this trigger). So, MD can catch this notification and use it as its own trigger.

The opposite is possible as well: MD doesn't have control over some system settings (without ADB Hack / Root). So, instead, MD can send a notification which can be caught and read by Bixby, and she can execute the actions!
For example: Airplane mode. MD sends a notification with "Airplane ON".
In Bixby Routines I created a routine to turn the Airplane mode on every time it catches a notification from MD called "Airplane ON"

PS: There's also an action on MD to clear these notifications as soon as they are read and executed, so you don't get flooded with bunches of them :p

Hope it helps.
 
Top