Android: hook is "dangerous" and should be used with caution.

preface Last article< AGP working principle of Android advanced technology sharing >We analyzed what AGP(Android Gradle Plugin) did and learned that AGP serves the packaging process. So, this article will talk about the Transform and solve why it is in AGP 3 x. The version of X can be obtained through reflection. The transformClassesWith ...

Posted by SimpleManWeb on Mon, 25 Apr 2022 15:45:47 +0300

Rockchip RK3588 Android platform firmware burning tool summary

Rockchip RK3588 Android platform firmware burning tool summary Development tool Android tool desktop version Applicable scenario Applicable system: window system The development tool provides developers with functions such as firmware burning, image burning, device erasure, device switching and firmware unpacking Function list Create ...

Posted by xfezz on Mon, 25 Apr 2022 13:09:12 +0300

Implementation principle and source code analysis of Handler

1, Use of Handler 1) Create global static constants class Cons{ static final int MSG_WHAT_0x1000 = 0x1000; static final int MSG_WHAT_0x1001 = 0x1001; } 2) Create Handler object private static Handler handler = new Handler(new Handler.Callback() { @Override public boolean handleMessage(@NonNull Message msg) { ...

Posted by shimmer on Mon, 25 Apr 2022 12:51:27 +0300

Free translation -- an exclusive real-time translation artifact without advertising

preface Free translation is a real-time translation application integrating speech recognition, text translation and speech synthesis. It supports real-time dialogue translation and text translation between multiple languages. It is suitable for overseas travel, social communication, language learning and so on. With Huawei HMS Core ML Kit, ...

Posted by kylebuttress on Mon, 25 Apr 2022 09:46:22 +0300

Android WebSocket enables instant messaging

Recently done this function, share it. There is no doubt that the most important thing of Instant Messaging is Instant Messaging. There can be no obvious delay. It is not difficult to realize the function of IM. At present, many third parties, such as JMessage of Aurora, are relatively easy to implement. However, if the project has special requ ...

Posted by johno on Mon, 25 Apr 2022 07:02:35 +0300

android9.0Service start process (start mode)

The source code sorting of Service start stream is based on android 9.0. In the sorting process, I tested the advanced secrets of android. Later, I will keep updating my new understanding of this piece Apply process to AMS startService starts the first cross process communication, using the process from starting the process to requesting AMS ...

Posted by kslagdive on Sun, 24 Apr 2022 23:20:32 +0300

3D commodity display of HMS Core e-commerce solution

The traditional e-commerce commodity display adopts the form of combination of text and text, introduces the relevant parameters of the product, and matches with exquisite pictures to attract the attention of customers. However, due to color difference, size discrepancy and other reasons, graphic commodity display will make consumers have doubt ...

Posted by furotte on Sun, 24 Apr 2022 04:53:56 +0300

[Android] use deviceowner to configure mobile phone settings (Monkey automatic test, delete the status bar, set the input method, mute, APP automatic permission granting, Kiosk mode on)

[Android] use deviceowner to configure mobile phone settings (Monkey automatic test, delete status bar, mute, set input method, APP automatic permission granting, Kiosk mode on) Background: Monkey needs to be used for automatic testing, but monkey often pulls down the status bar during testing, resulting in a series of problems such as networ ...

Posted by ngu_tri on Sat, 23 Apr 2022 13:42:03 +0300

Kotlin coroutine Flow main operator

1. Main guide package //Synergetic package implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1" //It mainly imports viewModelScope and lifecycleScope scope. The operation process in the View interface can ensure the security of the interface implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1' implemen ...

Posted by artyfarty on Sat, 23 Apr 2022 06:36:20 +0300

Android HandlerThread summary

preface I used to be [simple use of Android Handler and Loop] This paper introduces the communication between sub threads and sub threads. One middle note is that we need to call Looper. in the child thread. Prepare() starts a message loop for a thread. By default, the newly born thread in Android does not start a message loop. (except for th ...

Posted by hazel999 on Thu, 21 Apr 2022 03:17:39 +0300