Articles under the 'Listener' tag
Android Custom Gradle Plugin Statistics Task Time-Consuming
1. forewordWhen we use Gradle to build tasks, we sometimes want to count the time consumption of each task, so as to find out the running time of each task and whether there is room for optimization.
train of thought1.Custom Gradle plugins2.Use Listener to monitor3.Register Listener in custom Gradle
...
More >>
2023-06-26
Listener
/
Android
/
Gradle
Android implementation of screenshot function (already adapted to Android 11)
Background of the projectIn order to meet the needs of monitoring user screenshots and displaying the floating feedback portal, we conducted a simple survey on the user screenshot function on the Android side. Since the Android system does not provide APIs related to screen capture notifications, we
...
More >>
2023-04-13
screenshot
/
Listener
/
image