[APP] PaceOn v5.4 - Keep Pace/Stratos screen on, Lock Screen, Quick Switches & more - Amazfit

[APP] PaceOn v5.4 - Keep Pace/Stratos screen on, Lock Screen, Quick Switches & more
PaceOn v5.4
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Sometimes, I just want my Aamzfit Pace to stay awake a bit longer, so I make this app.
PaceOn is designed specifically for Amazfit Pace to keep its screen on and unlocked as long as I want. It also works on Amazfit Stratos.
Surely, keeping the screen on affects the device's battery, but for whatever reason you may want it.
For me, it's quite useful when transferring files via wifi, needing to see some app screen details for a period of time or just always showing off that beautiful watchface.
This is the first app of my Pace(X) series (On, Off, Up & Down).
Disclaimer:
I am not responsible for any bad things caused by using this app, and blah, blah, blah.
Instruction:
Just sideload the app. Root is not required.
This can be done using ADB.
Here is how.
To uninstall:
adb uninstall com.anox.paceon
Features:
On/Off = PaceOn service keeping the watch awake and unlocked
The service can be automatically turned off on a selectable schedule.
Dim = Allow the screen to dim
Launcher = Launcher Service
Once activated, a small triangle area at the bottom left of the screen becomes a launcher area. The area is only visible on PaceOn screen, but active on any screen.
- Swipe up from the area (on any screen) launches PaceOn app.
- Double tap toggles PaceOn service on/off without opening the app.
- Swipe right to lock the screen.
- Swipe diagonally (roughly 45 degrees upward to the right) to bring up Quick Switch panel
Please see the last attached image for the instruction. The service will automatically turn on after booting, if the option was previously on before the boot.
Lock screen
The idea here is to have a transparent lock screen to protect the screen on from touches or taps. When this lock screen is on, the watch is still fully awake.
- To activate the lock screen, swipe right on Launcher area.
- To unlock, just double tap anywhere on the lock screen.
Return Home option
This is a workaround to the notification issue (raised by a few people). When receiving a new notification, the notification screen won't automatically be dismissed and another notification won't trigger a vibration. This can only be turned on, when both PaceOn & Launcher services are selected.
When this option is selected, it will have an effect only when the lock screen is on. After activating the lock screen, the watch will return to the home screen (from any screen) in every 30 seconds.
Bear in mind "this is supposed to consume more battery power."
Auto On... = Auto On When Charging option (off by default)
When turned on, PaceOn service is automatically activated when the watch is plugged into a power source, and deactivated when unplugging it. This option always keeps the screen fully on (not dim) to get rid of the system charging animation. This is designed to work only if PaceOn service is NOT already on.
How about a Pace as a desk clock
Quick Switch panel
- Swipe roughly 45 degrees upward to the right from Launcher area to bring up Quick Switch panel which contains:
1) Brightness Seekbar
Quickly set the screen brightness to any value from 0 to 255 or to Auto Mode.
2) Bluetooth switch
Now, the Bluetooth can be turned on/off at will.
3) WiFi switch
Yes, the wifi too can be turned on/off at will.
- To dismiss Quick Switch panel, just tap on the brightness number or swipe the panel away to the right.
These switches work independently of the system settings. They can even turn on when Airplane mode is on.
How about a quick glance to check if your bluetooth/wifi is on (just like your phone Status bar)
CXN svc. = Connection service
The Connection service improves the bluetooth/wifi connection visibility. It lets us know when bluetooth/wifi is connected/disconnected with a toast message and vibration (only vibration, when screen off). It also tells us what device/AP the watch is connected to/disconnected from.
The service will automatically turn on after booting, if the option was previously on before the boot.
Now, we always know what the bluetooth/wifi on our watch is up to.
Usage:
To enable PaceOn service (to keep the screen awake and unlocked)
- Open the app
- Tick []On/Off (Optionally, tick []Dim)
- To activate Launcher service, tick []Launcher
- Click OK. PaceOn service will start with a confirmation message.
- The app will then be put into the background.
- Then, do whatever you want. The screen will stay unlocked as long as PaceOn service is active.
While PaceOn service is active, the watch can be forced to sleep by pressing the power button from Home screen. Waking up the watch will also reactivate PaceOn service.
To turn PaceOn service off
If Launcher service is active, just Double tap on Launcher area.
If not, Open the app, de-select []On/Off and click OK. PaceOn service will stop with a confirmation message and the app exits.
To turn Launcher service on/off
- Open the app, toggle []Launcher and click OK. Launcher service will start/stop and the app exits.
Note:
- While the app's UI is in the foreground, the screen stays on.
- The app (any app for that matter) can be killed by Android system if the resources are needed. If killed, the "Keep Screen Unlocked" effect will also be lost.
- The app is free for personal use.
Changelog:
Version 1.0
Initial release
Version 1.5
UI changes
- Theme change
- Some wording changes (hopefully clearer)
- New icon
Toast notifications added
- confirmation messages when starting/stopping the PaceOn service
Internal Improvement
- Better app instance handling
- More persistent, less likely to be killed by system
- Lower resource usage
- Optimised and smaller apk
Version 2.0
UI changes
- Launcher option added
- Lockscreen option added, but disabled in this version
- Bigger OK button for your convenience
Launcher Service added
Launcher Service puts a triangle area located at the bottom left of the screen. Once activated, the area becomes visible only on PaceOn screen, but it is active on any screen.
- Swipe up from the area (on any screen) launches PaceOn app.
- Double tap on the area (on any screen) turns PaceOn service on/off without opening the app.
After boot autostart Launcher service added
After installation, open the app once, then Launcher service will start automatically after every boot.
Version 2.3
- Fix few crashes that sometimes occurred when launching the app from Launcher area
- Deactivate Launcher service temporarily on PaceOn screen
- Change the UI a bit
- Improve swipe detection
- Make the services harder to kill
- Use a bit less RAM to run
Version 3.0
GUI changed
- Battery level percentage added to the OK button
Lock screen added
The idea here is to have a transparent lock screen to protect the screen on from touches or taps. When this lock screen is on, the watch is still fully awake.
- To activate the lock screen, swipe right on Launcher area.
- To unlock, just double tap anywhere on the lock screen.
Return Home option added
This is a workaround to the notification issue (raised by a few people). When receiving a new notification, the notification screen won't automatically be dismissed and another notification won't trigger a vibration. This can only be turned on, when both PaceOn & Launcher services are selected.
When this option is selected, it will have an effect only when the lock screen is on. After activating the lock screen, the watch will return to the home screen (from any screen) in every 30 seconds.
Bear in mind "this is supposed to consume more battery power."
Version 3.4
GUI changed
PaceOn now has many options, but I still want to have only one single screen, without scrolling. So, buttons are used to maximise the space. A button represents a service, while a checkbox represents an option in a service. The bottom part of the screen also has a new design.
Auto On When Charging option added (off by default)
When turned on, PaceOn service is automatically activated when the watch is plugged into a power source, and deactivated when unplugging it. This option always keeps the screen fully on (not dim) to get rid of the system charging animation.
How about a Pace as a desk clock
Version 4.0
Quick Switch panel added
- Swipe roughly 45 degrees upward to the right from Launcher area to bring up Quick Switch panel which contains:
1) Brightness Seekbar
Quickly set the screen brightness to any value from 0 to 255 or to Auto Mode.
2) Bluetooth switch
Now, the bluetooth can be turned on/off at will.
3) WiFi switch
Yes, the wifi too can be turned on/off at will.
- To dismiss Quick Switch panel, just tap on the brightness number or swipe the panel away to the right.
These switches work independently of the system settings. They can even turn on when Airplane mode is on.
How about a quick glance to check if your bluetooth/wifi is on (just like your phone Status bar)
Version 4.6
GUI Changed
The "Auto On When Charging" button becomes "Auto On..." button to allow a new button added to this tiny single screen.
CXN svc. option added
CXN svc. = Connection service
The Connection service improves the bluetooth/wifi connection visibility. It lets us know when bluetooth/wifi is connected/disconnected with a toast message and vibration (only vibration, when screen off). It also tells us what device/AP the watch is connected to/disconnected from.
The option is on by default and also automatically on after every boot.
Now, we always know what the bluetooth/wifi on our watch is up to
Version 5.0
Keep the screen dimmed while PaceOn's lock screen is on.
With Dim option selected, when the PaceOn's lock screen is on, the screen will be kept dimmed until unlocked (no matter if the screen is touched or tapped.)
PaceOn service auto-disable option added
When turning on PaceOn service, an off schedule can be selected to automatically turn off the service. The default is to turn it on forever.
Version 5.4
Settings now saved to the storage
All settings are saved to the storage before closing so that when the app opens the next time, all settings will be restored. This is so even after booting.
Auto-start after boot service changed
Launcher and CXN services each will automatically turn on after booting, if they were previously on before the boot.
Better handling of app closing
When the app is closed by clicking the OK button or pressing the Power button or swiping the app UI to the right, all settings are applied and saved to the storage.
Workaround to the issue of app UI appearing briefly when a notification arrives while charging
This issue can happen to any 3rd party app. It's kind of annoying to see. So, this version tries to avoid that.
If you like my work & want to buy me a cup of coffee or beer, I've just added a Paypal donation email to my profile.

Nice one, thanks.
I'll give it a try.
I'm with you one the wifi transfer thing.
Could really see this come handy
Sent from my MI 6 using Tapatalk

from what i saw till now, if I enable the "keep on the screen", the vibration is gone. the watch vibrates ONLY if I lock it via the button.

1immortal said:
from what i saw till now, if I enable the "keep on the screen", the vibration is gone. the watch vibrates ONLY if I lock it via the button.
Click to expand...
Click to collapse
Thank you for your feedback.
I've been testing the app for a few days without any vibration issues. When the screen is kept on by the app, my usual apps such as Walk, Run, Alarm, Timer and notifications from phone vibrate normally.
Could you please explain a bit more on the vibration issue you have? Some specific app doesn't vibrate? Thanks.

i'm running a zuk z2 with Nougat on it, 7.1.2, and lost vibration with Gmail, whatsapp and facebook messenger applications.
update: noticed that there's no vibration on Tapatalk as well.

1immortal said:
i'm running a zuk z2 with Nougat on it, 7.1.2, and lost vibration with Gmail, whatsapp and facebook messenger applications.
update: noticed that there's no vibration on Tapatalk as well.
Click to expand...
Click to collapse
OK, I think I know what happens here.
With or without this app,
When a notification (from any app) is received, Amazfit Pace vibrates only in one of these cases:
1) the screen is locked OR
2) you are NOT on the notification screen.
So, while the screen is kept on (but unlocked) by the app, the device vibrates if you are NOT on the notification screen.
Say you're on the home screen (watchface). Then, a notification is received, the device will vibrate and show the notification. Now, you're on the notification screen, and you won't be taken back to the home screen as there is no screen timeout. If you don't manually navigate from the notification screen to another screen, another notification will not trigger a vibration.
I hope my explanation makes sense, and I don't think I can do anything with the app to improve this.

got it!

What did you use for the app to keep the whatch on?
I started with a GolfCaddy app and because the watch sleeps after a few seconds I don't get the gps satellites.

Thank a lot
wow! it's useful for me Thank you very much for your creation. :laugh::laugh:

fzelle said:
What did you use for the app to keep the whatch on?
I started with a GolfCaddy app and because the watch sleeps after a few seconds I don't get the gps satellites.
Click to expand...
Click to collapse
You mean you're developing the GolfCaddy app, right?
Check this out https://developer.android.com/refer...Manager.LayoutParams.html#FLAG_KEEP_SCREEN_ON
starship1000 said:
wow! it's useful for me Thank you very much for your creation. :laugh::laugh:
Click to expand...
Click to collapse
I'm glad you like it.
BTW, a new improved and optimised version is coming this weekend.

A big thank you ! As a paramedic it will be very useful to check pulse (seconds), some suggestions to preserve battery :
- Implement an "HD Mode"/On motion as in the new watchface (unlock the screen/activate on wrist motion / background light on maybe ?)
- add an on/off widget on the launcher ? (Don't know if huami allows it) ?
- Lock the screen (unlock with a double tap) ?
Thanks again ! Really great addition to the watch !

WiwiPouPou said:
A big thank you ! As a paramedic it will be very useful to check pulse (seconds), some suggestions to preserve battery :
- Implement an "HD Mode"/On motion as in the new watchface (unlock the screen/activate on wrist motion / background light on maybe ?)
Click to expand...
Click to collapse
Sorry, I don't get this one. Care to explain a bit more?
- add an on/off widget on the launcher ? (Don't know if huami allows it) ?
Click to expand...
Click to collapse
I'm also looking for an easy way to enable/disable the app, but I'm pretty new to this watch.
- Lock the screen (unlock with a double tap) ?
Click to expand...
Click to collapse
We're talking about a custom lockscreen on a custom version of Android here. Sounds quite complicated, but it's actually on my wish-to-do list when time allows.

anox said:
You mean you're developing the GolfCaddy app, right?
Check this out https://developer.android.com/refer...Manager.LayoutParams.html#FLAG_KEEP_SCREEN_ON
Click to expand...
Click to collapse
Yes, the only thing missing is a Golfcaddy ( for me ).
Thanks, missed that .
Edit:
Jupp, working like a charm.
Now to the businesslogic and prettying up the beast.

You plan to release source code?

anox said:
Sorry, I don't get this one. Care to explain a bit more?
Click to expand...
Click to collapse
I was talking about to behaviour of "Night Run" watchface (in pacefied and in 1.3.4f) : when locked, a wrist motion (motion when you watch the...watch) trigger the full color / resolution / seconds hand version of the watchface
With your app you could be able to implement that behaviour for every watchface ! An it will be very good for battery life (don't you want full version of a watchface when you see it ? not when you're watching anything else ?)
If we had tasker on mips, that's what I would try : (I'm not a developer unfortunately)
- Detect wrist motion -> autounlock the watch for a programmed time -> relock
Or
- detect "backlight on" or backlight level > 0 (triggered by motion wrist if enabled in settings) -> autounlock the watch for a programmed time -> relock
As a last suggestion, a simple configurable timer in seconds could be great (my case : every time I unlock I would like to see the seconds hand / NUM for a minute, time for me to check manually a heart rate / ventilatory rate of my patient then autolock), a sort of programmable autorelock !
For the lockscreen, can't you place an invisible overlay after returning on the watchface which could intercept touch, then capture only double tap as an event to disable that overlay ?
Again, Very useful, big thank ! Keep up !

dpeddi said:
You plan to release source code?
Click to expand...
Click to collapse
Not at the moment, might reconsider it in the future.

WiwiPouPou said:
I was talking about to behaviour of "Night Run" watchface (in pacefied and in 1.3.4f) : when locked, a wrist motion (motion when you watch the...watch) trigger the full color / resolution / seconds hand version of the watchface
Click to expand...
Click to collapse
I'm on 1.3.4f, there is Activate on Wrist option. When on, it just turns on the backlight for a few seconds, but doesn't wake the watch. So, you won't see the second hand. And, that works the same for all watchfaces.
With your app you could be able to implement that behaviour for every watchface ! An it will be very good for battery life (don't you want full version of a watchface when you see it ? not when you're watching anything else ?)
Click to expand...
Click to collapse
I do see the importance of the watchface for you, but PaceOn is implemented to work universally with any app. What you can do now with PaceOn v1.0 is this:
- Open the app, activate "Screen On"
- Press Home (power) button to go Home,then press again to put the watch to sleep
- Whenever you need to take a heart rate reading, just wake the watch, After done, just put the watch back to sleep
I don't think the app consumes that much battery when the watch is asleep, though I've not actually measured it.
If we had tasker on mips, that's what I would try : (I'm not a developer unfortunately)
- Detect wrist motion -> autounlock the watch for a programmed time -> relock
Or
- detect "backlight on" or backlight level > 0 (triggered by motion wrist if enabled in settings) -> autounlock the watch for a programmed time -> relock
Click to expand...
Click to collapse
Yeah, my wish too.
Another thing is I have no idea what the system allows 3rd party apps do when the watch is asleep.
As a last suggestion, a simple configurable timer in seconds could be great (my case : every time I unlock I would like to see the seconds hand / NUM for a minute, time for me to check manually a heart rate / ventilatory rate of my patient then autolock), a sort of programmable autorelock !
Click to expand...
Click to collapse
This one is already on my wish-to-do list.
For the lockscreen, can't you place an invisible overlay after returning on the watchface which could intercept touch, then capture only double tap as an event to disable that overlay ?
Click to expand...
Click to collapse
That'd be the idea, but like I mentioned this is a custom android on which I see some simple android functions don't even work. What I'm doing here is mostly guesswork, just trial & error.
Thanks for the comments. We'll see how this goes.

V1.5 is up.
Version 1.5 is up (OP updated)
Changelog:
UI changes
- Theme change
- Some wording changes (hopefully clearer)
- New icon
Toast notifications added
- Confirmed messages when starting/stopping the PaceOn service
Internal Improvement
- Better app instance handling
- More persistent, less likely to be killed by system
- Lower resource usage
- Optimised and smaller apk
Please note that APK installer doesn't seem to support this optimised apk (attached to OP), though it can be installed via adb as usual. In case that you already have PaceOn on your watch, the command will be "adb install -r anox.PaceOn.v1.5.apk"
The next version will include some new functionality.

thanks for this app....i really like it since it make easier to check anything without double tap or unlock via button.
anyway i find some issues :
the activate on wrist are not working if PaceOn are active
notification wont "minimize" if PaceOn are active
Baterry drain (but this is acceptable i think since the watch are always "on" without baterry saving mode.
if you could fix it would really great ( if not it's still great app )
but overall are superB app, really appreciate it.
information :
Im using English rom 1.3.4f
cheers

hoomansjogja said:
the activate on wrist are not working if PaceOn are active
Click to expand...
Click to collapse
The system's activate on wrist works only when the watch is asleep. When PaceOn is active, the watch is awake. I may look into this when implementing a lockscreen for PaceOn.
notification wont "minimize" if PaceOn are active
Click to expand...
Click to collapse
Right. It's the same reason. When PaceOn is active, the watch stays awake. So, the notification screen will stay on after receiving the notification. It has been discussed in post#6 . Once PaceOn has its own lockscreen, I'll try to improve this.
Baterry drain (but this is acceptable i think since the watch are always "on" without baterry saving mode.
Click to expand...
Click to collapse
PaceOn itself doesn't drain the battery (much), it's the screen on and the running apps while the watch is awake. When the watch is asleep, I find the battery consumed by PaceOn negligible. Everyone else who has measured the battery consumption may share their experience.
Thanks for the comments & stay tuned for the future versions.
BTW, another version is coming up tomorrow.

Related

[Q] Using a tablet as kitchen display - app control

I have a cheap 7" tablet that I'd like to setup as a kitchen display. This is how I imagine using it:
1) At 6AM, tablet wakes up display, turn off display at 9AM.
2) AM: display traffic map, similar to the Inrix app.
3) AM: display weather for today
4) At 5PM: tablet wakes up display
5) PM: display weather data for next few days
You get the idea. I want some control over when the display wakes up. I'd also like it to perhaps switch apps like a demo unit - for example, show the weather on the display for 5 seconds, then switch to the traffic map for 30 seconds, then switch back to weather.
I've consider using just the desktop, and simply squeeze a weather widget and a google maps traffic widget in the same screen. But, I'd like the solution to be more extensible. So, later if I decide to display another piece of info, I can just time share the screen.
I think I can use Tasker to turn the display on/off at set times. But, I don't know of a way to make the tablet rotate between two or three different apps.
I might also use the tablet as a recipe book. So, I'd like the weather/traffic display feature to kick in automatically when the tablet stops being used.

Active Display (lock screen alternative):

With Active Display, your notifications are available to you right on your screen without any other clutter or distractions. You can easily open up any important notifications or simply dismiss them with a swipe of the screen. Easily view full notifications at the touch of a button or browse through all current notifications with a swipe of your finger. Active Display will turn your screen on and display notifications as they arrive if your device is out in view. If your device has a proximity sensor Active Display will poll it to see if the device is tucked away somewhere and if it is then the display will not be turned on. Want your display to come on the moment you take it out of your pocket? With Active Display that is just one of the many possibilities and easily enabled via Active Display's settings.
Click to expand...
Click to collapse
Download it here: https://play.google.com/store/apps/details?id=com.scheffsblend.activedisplay_ads
Good
good

Remove Amazon Ads with Automation Tools (No Root/Unlocked Bootlocker!)

Android >= 7.0
Use an automation tool such as Macrodroid to do the below actions. If using Macrodroid, search for "Ned612" in template to copy macros. I am assuming this can be duplicated in Tasker and other automation tools.
Macro 1:
Trigger: Screen Off
Action: Create Custom Notification
Macro 2:.
Trigger: Screen On
Action: Clear Amazon Notification & Custom Notification​Why this works:
Full screen ads are shown if no notifications are shown. Notification ads will show if 1 or more notifications are present. By creating a bogus notification when the screen turns off, we can clear the bogus and ad notification when the screen turns on.
Pros/Cons:
Pros: No root/mods required
Cons: When you first turn on your screen, the amazon ad and bogus ad may show for a second (literal second). Most of the time, it is quick enough that you will not notice it.
Android < 7.0
See https://forum.xda-developers.com/moto-g4/how-to/moto-g4-remove-ads-unlocking-bootloader-t3541710
I noticed that you can still see the notification ads when the screen first turns on, but then it is cleared within a second. Since I have a persistent weather notification on my lockscreen, I was able to disable Macro 1 and instead of using a Screen On trigger for Macro 2, use Notification from Amazon Offers as the trigger. This made the ads 100% invisible.
phdinblanketforts said:
I noticed that you can still see the notification ads when the screen first turns on, but then it is cleared within a second. Since I have a persistent weather notification on my lockscreen, I was able to disable Macro 1 and instead of using a Screen On trigger for Macro 2, use Notification from Amazon Offers as the trigger. This made the ads 100% invisible.
Click to expand...
Click to collapse
Awesome, thanks for the info. I will update the macro for others. I also added a constraint to macro 1 to not create a fake notification if any notification is already present.
thanks for this! this will do until another method is found :good:
it works out.thank you
Great work! Works really well. I just used the clear since I use a weather notification. Works even with Macrodroid's notification hidden.
I have a question. I have Motorola G5+ and installed Macrodroid and these 2 Macros. Everything seemed fine, but then I noticed that sometimes when I unlock the phone it takes about 3 seconds to show my homescreen with all my icons (though the wallpaper is immediately seen and I even can pull down my notification (or status) bar for working with tiles...
I wonder is it my Gen 5+ specific, or it also happens on Gen4 phones?
PS just an update in this video. I see that there is some lock screen remains (with clock). Maybe the rule needs to be updated somehow?
Ned612 said:
Android >= 7.0
Use an automation tool such as Macrodroid to do the below actions. If using Macrodroid, search for "Ned612" in template to copy macros. I am assuming this can be duplicated in Tasker and other automation tools.
Macro 1:
Trigger: Screen Off
Action: Create Custom Notification
Macro 2:.
Trigger: Screen On
Action: Clear Amazon Notification & Custom Notification​Why this works:
Full screen ads are shown if no notifications are shown. Notification ads will show if 1 or more notifications are present. By creating a bogus notification when the screen turns off, we can clear the bogus and ad notification when the screen turns on.
Pros/Cons:
Pros: No root/mods required
Cons: When you first turn on your screen, the amazon ad and bogus ad may show for a second (literal second). Most of the time, it is quick enough that you will not notice it.
Android < 7.0
See https://forum.xda-developers.com/moto-g4/how-to/moto-g4-remove-ads-unlocking-bootloader-t3541710
Click to expand...
Click to collapse
I have a bad English. This is it:
Macro 1:
Trigger screen off
Action custom notification from macrodroid
Restraint other notifications present
Macro 2:
Trigger notification received from Amazon offers
Action clear notification from Amazon offers
Macro 3:
Trigger screen unlocked
Action clear notification from macrodroid
*** You must go to macrodroid notification settings and disable notifications while in lockscreen.
Good luck
ricar_usa said:
I have a bad English. This is it:
Macro 1:
Trigger screen off
Action custom notification from macrodroid
Restraint other notifications present
Macro 2:
Trigger notification received from Amazon offers
Action clear notification from Amazon offers
Macro 3:
Trigger screen unlocked
Action clear notification from macrodroid
*** You must go to macrodroid notification settings and disable notifications while in lockscreen.
Good luck
Click to expand...
Click to collapse
Is it for my case?
I just found a quick workaround - I just added the third action to
Macro 2:.
Trigger: Screen On
Action: Clear Amazon Notification & Custom Notification
Click to expand...
Click to collapse
It's: Launch Home Screen
So Now I have no any delay, but if I had some software open it get's removed and I always open the Home Screen
Could this be done with Tasker?
On Android 7.0 just install Apex launcher and the Amazon bloat won't show, except for the Lockscreen.
imritechere said:
On Android 7.0 just install Apex launcher and the Amazon bloat won't show, except for the Lockscreen.
Click to expand...
Click to collapse
As I know Apex Launcher does not have "Direct Dial" widgets => useless for me
phdinblanketforts said:
I noticed that you can still see the notification ads when the screen first turns on, but then it is cleared within a second. Since I have a persistent weather notification on my lockscreen, I was able to disable Macro 1 and instead of using a Screen On trigger for Macro 2, use Notification from Amazon Offers as the trigger. This made the ads 100% invisible.
Click to expand...
Click to collapse
Can you upload your macro? because i'm having the same problem that i takes a second to clear the amazon add, i tried to follow your guide but i wasnt able to make it work.
Found a single command to uninstall the package that delivers the Amazon ads:
https://forum.xda-developers.com/moto-g4/how-to/to-remove-amazon-ads-moto-g4-running-t3614090
On Moto G5+ we were able to get rid of ads followed this instruction
Try This... Uninstall Ads... It Works!!
https://forum.xda-developers.com/g5-plus/how-to/amazon-ads-removal-moto-g5-t3598515
How do you all of this,
phdinblanketforts said:
I noticed that you can still see the notification ads when the screen first turns on, but then it is cleared within a second. Since I have a persistent weather notification on my lockscreen, I was able to disable Macro 1 and instead of using a Screen On trigger for Macro 2, use Notification from Amazon Offers as the trigger. This made the ads 100% invisible.
Click to expand...
Click to collapse
Including the weather notification on the lockscreen and changing the trigger, I'm a very big novice to Macrodroid

Mate 10 pro and protected apps

Please where is this function? And battery optimization permission.... Are same things ? Thank
From what I've been able to determine, there is no 'protected apps' menu option on Emui 8.
The place to adjust them is in - Settings - Battery - Launch. Personally I find Huawei's management way too agressive, so I turned off managing all automatically. Then in batch manually set everything to allowed and let Android sort it out. It doesn't seem to have made any difference to my battery life, but at least most notifications seem to work now. You could manually set only the ones you want to allow to run in the background though and it might help.
From settings - battery I also went into the settings icon top right and turned off the 'power intensive prompt' option because it was annoying - Google maps is SUPPOSED to be using frequent positioning, and my podcast app isn't much use if it isn't running in the background!
The whole power management seems to be designed for a phone with a tiny battery, where micro management is needed - but on a phone with the largest battery out of any flagship it seems needlessly aggressive....
Edit: It is also possible in the running apps/recent apps screen to click the lock icon on a program which is supposed to prevent Android from closing that app - but not sure how effective that is on EMUI.
Hello to all. I have installed in huawei mate 10 pro and I would like to use an application to notify gmail emails and whatsapp messages on always on display. use led blinker application that works properly when the phone is charging, while when it is without cable the notifications arrive only when I turn on the screen. I can think that it is a protection of consumption but I have activated all possibilities. could someone tell me what I could activate to solve this problem? thank you
This does exist. It's in the recent apps page (bottom left/right button, depending on your settings).
If you press the lock icon on an app it should "lock" the app from automatically closing.
It also prevents that app closing when you tap the recycle bin icon in the recent apps page.
This is exactly what I need, but I am running EMUI 9 on mate 10 pro and I cannot find this "lock"!! Yet I am sure I have seen it at some point in time... X-(
I just got the Android Pie/EMUI 9 upgrade last week and I found the lock by accident. When viewing your apps in the recents view, find the app you want to lock and drag it down towards the trash icon. You should now see the lock icon for that app at the top, and it should be protected from clearing recents. Clicking the lock or dragging it down again should toggle the lock.
On recent apps list, slide down the app window to lock - lock pad on top. Slide again to unlock

My Essential Tasker Mod Pack

Hi guys,
I cooked up some tasker mods to address some of the graciously few problems I have with the software of the mate 20x. I thought they might be useful to some of you guys so I figured I'd share. The plugins used are AutoInput, AutoLaunch, AutoNotifications, and AutoTools.
Mod List:
1. Fixed Auto-rotate Lock: uses the quick tile to auto-rotate or lock to any orientation
2. Swipe Recent Apps Switcher: cycle through previous apps by swiping on the bottom of the screen ala iPhone
3. Auto-disable Eye comfort: pop-up prompt when activating chosen apps that automatically disables eye comfort mode
4. Automatic Screen Filter: activates the free app Night Screen when brightness is set to minimum and disables it when brightness is raised
1. Fix Auto-rotate Lock
There are two versions of this mod, one which uses the system quick tile and one which uses an AutoNotifications quick tile. The AutoNotifications quick tile is more reliable and allows you to seamlessly lock orientation in landscape or inverted. The system quick tile is more clunky and you cannot lock in inverted, but it's a bit faster. If anyone knows where to find the system quick tile icons please tell!
Simply import the profiles to Tasker and turn them on. Choose "Rotate On" for the system qt or "AltRotate On" for the AutoNotifications qt.
2. Swipe Recent Apps Switcher
This mod will track all activated apps in an array so they can be systematically called back. It also offers swipe gestures at the bottom of the screen which can be used to cycle through them. Swipe left or right to go back and forth through your recent apps. After settling on an app, the app list will be updated to bring your active app to the front.
To install, import and turn on all profiles and run the swipe task. The Swipe task must be ran to provide gestures. The overlay providing gestures is at the very bottom of the screen, so just swipe your finger along the screen edge. Modify your settings and profiles to make sure that Swipe, AutoTools, and Tasker stay on with full permissions. This mod requires that tasker monitoring use accessibility. In the no root version some apps will refresh their state when activated (es explorer). This is because apps are 'launched' and not 'brought to foreground'. In the root version this is not an issue.
3. Auto-disable Eye comfort
This will provide a discrete pop-up in the corner of your screen when you activate the selected apps. I set up the profile with the apps I use for photo and video editing. When you click the pop up it will automatically open the drawer and disable the eye comfort quick tile. The pop up will go away in 5 seconds if not clicked, or can be swiped away.
To install, place the "bubble" folder in your AutoTools webscreen folder. The file paths should match up, but you may need to modify them. Import and turn on. The no root plugin uses AutoInput to press the fourth quick tile. If you have eye comfort on another quick tile you will need to change the touch coordinates. The root option will, if prompted, automatically switch eye comfort on and off as you switch between monitored apps. If you dismiss the prompt it will not ask again until eye comfort is toggled.
4. Automatic Screen Filter
When brightness is lowered to the minimum level, this mod will launch the app Night Screen to lower the brightness with a screen filter. When the brightness is raised above minimum it will turn night screen off.
You can change the app used, but it must have a toggle or on/off activity to be launched by secure settings. I found Night Screen to be the best for me. Import and turn on profiles.
There may be some bugs due to inconsistent Tasker monitoring and the system messing with things. Unfortunately there is little I can do about this.
ps. the zip is NOT installable
Sorry I'm stumped about how to embed youtube videos. Here's links.
https://youtu.be/KZBQJX3Fges
https://youtu.be/AnVLVCdWC8U
https://youtu.be/SsVjmW-9KwI
I vastly improved the app switcher to function much more intuitively and more like a native function. It's works pretty much exactly like on the iPhone, accept the animations are going the wrong way. I'll test it out a bit then update the post.
You sir are incredible
Post has been updated with a new app switcher, a root app switcher which fixes the launching problem, and a root eye comfort prompt which modifies the setting directly and has enhanced functionality. Also now none of the mods are dependent on the Secure Settings plugin
cobram3 said:
You sir are incredible
Click to expand...
Click to collapse
glad somebody likes it :good:
Allan can I pay you to help/tutor me on creating Tasker apps for my own use?
Please message me
---------- Post added at 02:14 AM ---------- Previous post was at 02:13 AM ----------
AllanRSS said:
glad somebody likes it :good:
Click to expand...
Click to collapse
Such as:
Auto speakerphone when call connects by default
When I get in the car, show a list of media players as a popup (bc bt connected)
$60 via PayPal thx
I really appreciate the offer, but thats not how xda works. This is where people help people, and I've benefited far too much through the days on the generosity of others to be greedy now.
I took a quick look and it and there is a State profile called "BT Connected". You should be able to check your bluetooth settings for the exact name of your car and insert that into the Name field. Then you would make a Scene containing buttons corrosponding to your desired media player. This should be reletively straightforward. When the BT is connected, show the scene with the buttons then launch your choice. This can be done with the AutoLaunch plugin or by android intent by running code 'am start --activity-reorder-to-front PACKAGE_NAME/MAIN_ACTIVITY'. The main activity intent is easily found through terminal if you're rooted but I dont remember how to find it if you're not rooted.
For the call I would use the State profile "Call". I am not sure if this will activate after the call is connected or while the phone is ringing for incoming calls. If its when the phone is ringing I would then set up a loop with "AutoInput Query" to check whether the call was connected. Run a couple tests with the query to see what the variable values are when the call is connected and check for those values to escape the loop. When the call is connected, use auto input to click on the speakerphone button automaticly. You can use the auto option to configure this or you can go into developer mode on your phone and enable show pointer location to get the coordinates. Coordinates are faster that text matching, but you might have to add a wait for 500ms to avoid it touching too early.
That should be it, pretty straightforward. You've inspired me to update this list with my new rotate toolbar and fixes. Happy tinkering!
That being said, I would be willing to do it for you if you would rather pay for a finished solution. However, I greatly encourage you to give it a go yourself, the possibilities are endless once you get comfortable with Tasker.

Categories

Resources