When IDLE do something, when touch screen, other

Post your questions and help other users.

Moderator: Martin

pickone
Posts: 22
Joined: 08 Sep 2017 14:52

Re: When IDLE do something, when touch screen, other

Post by pickone » 11 Sep 2017 08:48

Thank you

pickone
Posts: 22
Joined: 08 Sep 2017 14:52

Re: When IDLE do something, when touch screen, other

Post by pickone » 11 Sep 2017 10:07

By the way, theres any chance that automatic knows how to dim my screen brightness to zero? but zero like turned off completely but not locked. Theres no AMOLED on the tablet, it is a normal screen lcd, putting it to zero, it still turned on

User avatar
Desmanto
Posts: 2467
Joined: 21 Jul 2017 17:50

Re: When IDLE do something, when touch screen, other

Post by Desmanto » 12 Sep 2017 02:17

You can set the timeout to a very short time example 1 seconds and set it back to normal after several seconds, to revert it. You need to disable the autolock after screen off, to make sure it doesn't sleep. You might need to do some operation to keep the device awake (or just use a simple flow with a very long sleep action and keep device awake). There is a flow made here.
viewtopic.php?f=4&t=1991

Screensaver and speakerphone flow has been done and almost finish typing the explanation. Need some formatting to make it easier to read. Typing it is longer than creating the flow :( I have learnt something just by typing it. I will post it later at night (±12 hours later)
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

pickone
Posts: 22
Joined: 08 Sep 2017 14:52

Re: When IDLE do something, when touch screen, other

Post by pickone » 12 Sep 2017 07:33

Nice! Thank you

User avatar
Desmanto
Posts: 2467
Joined: 21 Jul 2017 17:50

Re: When IDLE do something, when touch screen, other

Post by Desmanto » 12 Sep 2017 15:49

I have posted the screen saver flow, check it out.
http://automagic4android.com/forum/view ... f=3&t=6963
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

pickone
Posts: 22
Joined: 08 Sep 2017 14:52

Re: When IDLE do something, when touch screen, other

Post by pickone » 12 Sep 2017 18:44

I tested, but the screensaver is showing no matter what, after 10 seconds, even if I click the screen, the screensaver is appearing after 10 seconds...

User avatar
Desmanto
Posts: 2467
Joined: 21 Jul 2017 17:50

Re: When IDLE do something, when touch screen, other

Post by Desmanto » 13 Sep 2017 02:05

Check your UI event trigger. Did it get triggered? Just open the flow and see if the flow get reset if you click something
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

pickone
Posts: 22
Joined: 08 Sep 2017 14:52

Re: When IDLE do something, when touch screen, other

Post by pickone » 13 Sep 2017 13:26

Yes... when I turn on the screen saver flow... the flow is like: UI Event -> expression -> false (sleep 10s), thats it, nothing else... But if I keep using the phone, and touching the screen, the 10 seconds are still passing and the screen saver it will show no matter what

User avatar
Desmanto
Posts: 2467
Joined: 21 Jul 2017 17:50

Re: When IDLE do something, when touch screen, other

Post by Desmanto » 13 Sep 2017 14:51

First toggle works and triggers the flow. How about after that? Do clicking something, example the 3 dot menu at automagic, trigger the flow? It should trigger, as I have explained that the flow will be triggered so often by every click/scroll you make. Have you make sure accessbility is working properly for your tablet? Can you use control UI at the tablet? UI event require proper accessibility implementation to works.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

pickone
Posts: 22
Joined: 08 Sep 2017 14:52

Re: When IDLE do something, when touch screen, other

Post by pickone » 13 Sep 2017 15:44

I am trying this flow to my OnePlus 5 to see if is working, but I will try it on tablet too... maybe on the phone there are different functions, like the speakerphone thing...

Post Reply