Articles under the 'Android' tag
Android Communication Security
Component Communication SecurityWhat is local denial of service?Before understanding local denial of service, let’s briefly understand denial of service attacks (dos attacks) and distributed denial of service attacks (ddos).
The so-called denial of service attack is to occupy all the service threads
...
More >>
2024-08-30
Android
Android YUV Frame Data Overlays Watermark
When we want to add a watermark to a video while recording it, there are two options:
A. The video frame data is converted to Bitmap, watermark is drawn on bitmap, and then the watermarked Bitmap is converted to frame dataThis scheme can achieve watermark addition, although the use of RenderScript i
...
More >>
Android Implements Screenshot Function
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-12-04
Android
/
Screenshot
Android Activity Components
Android Activity Components
Introduction: One of the four major components of Android, the medium for interaction between App and users.
Activity Lifecycle
In general the movement through an activity’s lifecycle looks like this:1.onCreate()
Called when the activity is first created. This is where
...
More >>
Android Fingerprint Recognition
General overviewAt the time of Android6.0 (Api23), the Android system added the api interface of fingerprint recognition, namely FingerprintManager, which defined the most basic fingerprint recognition interface. However, at the time of AndroidP (Api28), it was no longer officially recommended, and
...
More >>
2023-09-20
Android
/
Fingerprint Recognition
A High Reliability Task Execution Framework Based on XXL-JOB
What is a Task Scheduling FrameworkIn many applications, some tasks need to be performed periodically, such as generating reports, backing up data, updating caches, and so on. These tasks usually need to be executed automatically within a specified time interval, and need to run stably and reliably,
...
More >>
Understanding and Implementing Kotlin Coroutines
1. Concept of Kotlin CoroutinesKotlin Coroutines is a well-designed thread framework that uses threads at the underlying level. Coroutines can be understood as tasks executed on threads, and these tasks can switch between different threads. A single thread can run multiple coroutines, and coroutines
...
More >>
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
Mechanism difference between ios and Android
1. ArchitectureiOS:
cocoa Touch layer: including Foundation Framework, UIkit Framework, Address Book UI Framework
Media layer: including image, audio, and video technologies
Core service layer: For example, CoreFoundationframework is an interface set based on C language, providing
Basic data ma
...
More >>
2023-05-19
QA
/
Android
/
ios
/
operation mechanism