(This document specifically explains the principle and program design of Android framework, and it is worth seeing through illustrations and examples. This document includes the following annexes:
Android uses framework principle and program design (simplified. pdf
Including multiple files, please download and test by yourself!)