Android App-Hook and Plug-In Technology
by 作者: Jianqiang Bao
pages 页数: 452 pages
Publisher Finelybook 出版社: CRC Press; 1 edition (4 Sept. 2019)
Language 语言: English
ISBN-10 书号: 0367207001
ISBN-13 书号: 9780367207007
Book Description
This book presents the Android plug-in technology used in Android development. This technology is widely used by 作者: a majority of Chinese internet companies,and is becoming more widely used worldwide. The book fully describes the history of Android plug-in technology,the installation and startup process,and new features of the Android plug-in technology. It also explores plug-in solutions for peripheral technologies. The book is designed to help Android app developers better understand the underlying technology of the Android system.
Features
Introduces Android system knowledge,including the communication between AMS and four components
Describes the Hook technique by 作者: Proxy.newProxyInstance and reflection,to modify Android system behavior,for example,to launch an activity not declared in the AndroidManifest.
Shows how to use the Hook apk packaging process in Gradle
Covers how to merge the resources in the plugin app and the host app,and how to merge dex of the host app and all the plugin apps
Presents the SO technique and how to launch SO files dynamically
Contents
Acknowledgments
About the Author
About the Translators
Introduction
1: Plug-Ins from the Past to the Future
2: The Underlying Knowledge of Android
3: Reflection
4: Proxy Pattern
5: Hooking startActivity0
6: The Basic Concepts of Plug-In Techniques
7: Resources in Plug-In
8: The Plug-In Solution of Four Components
9: A Plug-In Solution Based on Static-Proxy
10: Related Plug-In Techniques
11: Summary of Plug-In Technology
Appendix A: Sample Code List
Index