8. Multitasking the Android Way in 2010
“Application switching on a mobile device is
extremely critical.”
“This is especially important when the user is
switching between a few applications, such as
switching to look at a new SMS message while
watching a video, and then returning to that
video.”
written by Dianne Hackborn, 28 April 2010
9. Multitasking the Android Way in 2010
사용자가 앱을 종료할 필요가 없음
메모리 사용량을 최소화
앱 실행 및 다른 앱으로 전환이 빨라야함
선탑재되는 앱과 동일한 수준의 API 제공
written by Dianne Hackborn, 28 April 2010
12. App #1 App #2 App #3 App #N...
System Services (Managers…)
process process process process
multiple process
13. App #1 App #2 App #3 App #N...
System Services (Managers…)
Foreground Service Background Cached
process process process process
multiple process
14. App #1 App #2 App #3 App #N...
System Services (Managers…)
Foreground Service Background Cached
process process process process
multiple process
Low Memory
15. Binder = 아주 빠른 IPC
Dalvik, ART = 메모리 효율적인 런타임
Zygote = 아주 빠른 프로세스 생성