2. Agenda
Android GUI System architecture
Review: Service and Binder
How to start a application
Draw the application's view
SurfaceView for application's state
Experience sharing
6. Review: Service and Binder
SDK-Service and Kernel-Service
Android's IPC: Binder
7. How to start a application
ActivityManagerService to start a applictation
process and start Activity.
When Application start that mean a Activity
start.
13. Surface for application's state
WindowManagerService::relayoutWindow()
{
…
Surface = win.createSurfaceLocked();
// win is WindowState that create in WidowSession.add()
…
}
15. Experience sharing
AsyncTask dosen't work (Unidentified reason).
Dynamic Broadcast Receiver register and
unregister in Activity.
Surface used between in Create and Destroy.
Split the file in Assets if file over 1MByte.
Except the construct view object always work
between in onStart and onStop.
17. Summary
Android application manager is
ActivityManagerService.
Application GUI manager is
WindowManagerService.
View create need to before Activity resume.
Surface running between be created and
be destroyed.