Xposed framework official document translation (1)

I have translated the official document of Xposed framework, I hope it will be helpful to you


Ok. Do you want to learn how to create a new Xposed module? Then you can read this tutorial (or we can call it a broad article) and learn how to solve it. This not only includes the technique of "creating files and inserting modules", but also thinking about the deeper levels behind it, such as some meaningful steps, and some meanings that you really need to understand what you do and why you do it. If you feel like "TL;DR", you can just read the source code at the end of this article, and then read the chapter "Making the project an Xposed module", but by reading the entire tutorial, you will have a deeper understanding . You will save time to read this article later, because you don't need to figure out everything yourself.

The modification subject

You can reproduce a sample of the "red clock" project, which can also be found on github.
The project includes changing the color of the clock in the status bar to red and adding a smiley face symbol. , I chose this project because it is small, but it is easy to cause obvious changes, and it also uses some basic methods provided by the Xposed framework.
How Xposed words
Before starting your modification, you should have a rough understanding of how the Xposed framework works (you may skip this part if you find it boring) ("I am bored to translate the article") The following is How it works:
There is a process called "Zygote", which is the heart of the Android operating environment. Each application is made with a copy ("fork") of it. This process runs an /init.rc script when the phone is turned on. This process is started by /system/bin/app_process, /system/bin/app_process

Guess you like

Origin blog.csdn.net/weixin_43632667/article/details/105280987