Android architecture and android Architecture
The figure shows that android is divided into four layers, with linux as the core and dedicated Optimization for mobile phones, providing the most basic functions of the android operating system, android runtime and libraries. Dalvik Virtual Machine (similar to JVM) is specially optimized for the android operating system. The above is the application framework. Development Based on these frameworks can improve development efficiency.
Four Android components: Activity, Service, Content Provider, BroadcastReceiver
Activity: An Activity is an interface and the facade of the entire application. It is responsible for interacting with users.
Service: handles most data processing tasks in the background, which is invisible to users.
Content Provider: provides external data and allows applications in need to access the data.
BroadcastReceiver: monitors what happens on your phone.