Android App-Hook and Plug-In Technology: 1st Edition (Hardback) book cover

Android App-Hook and Plug-In Technology

1st Edition

By Jianqiang Bao

CRC Press

304 pages

Purchasing Options:$ = USD
Hardback: 9780367207007
pub: 2019-09-04
SAVE ~$11.99
Available for pre-order

FREE Standard Shipping!


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.


  • 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

Table of Contents

Plugable from Past to Future. In-depth Knowledge of Android. Reflection. Proxy pattern. Hook start Activity. Basic Knowledge of Plug-in. Resources in Plug-in. The simplest Plug-in solution. Plug-In solution of Activity. Plug-In solution of Service. Plug-In solution of Broadcast Receiver. Plug-In solution of Content Provider. A plug-in framework base on Static Proxy: DL. Support Service and Broad Receiver in DL. Resources in plug-in. A plug-in framework base on Fragment. H5 Downgrade. Obfuse on plug-in. Incremental Update. Plug-in Solution of SO. Hook App packaging process. Summary of plug-in technology

About the Author

Jianqiang Bao, a senior director in For more than 10 years he has developed enterprise solutions using Silverlight, ASP.NET, WP7, Android and iOS. He has worked in HP, Microsoft, Qunar, Tuniu company. He has a technique blog, his GitHub is

Subject Categories

BISAC Subject Codes/Headings:
COMPUTERS / Programming / Games
COMPUTERS / Networking / General
COMPUTERS / Internet / General