Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Overview
Binder Driver
Driver to facilitate IPC (Inter Process Communication)
between applications and services
Problems of Linux IPC
o Applications and services may run in separate processes but must communicate
and share data
o IPC can introduce significant processing overhead and security holes
Properties of Binder
o High performance through Shared Memory
o Per-process thread pool for processing requests
Binder in Action!
Power Management
Mobile devices depend on battery power and batteries have
limited capacity
Properties of Power Management
o Built on top of standard Linux Power Management
o Supports more aggressive power management policy
o Components make requests to keep the power on through Wake Locks
Dalvik VM
Androids custom implementation of Virtual Machine with
Register Architecture
It is a Virtual Machine to
o
o
o
o
11
Why DVM?
Provides Application Portability and Runtime
consistency
Designed for Embedded Environment
o Supports multiple virtual machine processes per device
o Highly CPU-optimized byte code interpreter
o Uses runtime memory very efficiently
Application Framework
13
Application Layer
Application Layer
Few Drawbacks!
Fragmentation
Decentralization
Unstable, Hangs if the load is more
Battery Draining and Overheating
Continuous Internet Connection
16
References
[1] Benjamin Speckmann, The Android mobile platform, MS.Thesis, Depart. comp. science, Eastern Michigan
Univ., Michigan, US, 2008.
[2] Benny Skogberg Android Application Development, MS.Thesis, Depart. Comp. Science, Malmo Univ., Sweden,
2010.
[3] Chien-Wei Chang, Chun-Yu Lin, Chung-Ta King,Implementation of JVM Tool Interface on Dalvik Virtual
Machine,paper appears in (VLSI-DAT), 2010 International Symposium on Digital Object Identifier 26-29 April 2010.
[4] Bimal Gadhavi & Khushbu Shah, Analysis of the Emerging Android Market , Project Report Presented to
SanJos State University May 2010
[5] Stefan Brahler, Analysis of android architecture, Department of computer science, Karlsruher institute of
technologies, Germany, june 2010
[6] Marakana,AndroidBootcamp TrainingCourse http://marakana.com/training/android/android_bootcamp.html,
18 Oct, 2012.
[7] Google I/O: Anatomy and Physiology of Android by Patrick Brady
[8] Google I/O: Dalvik Virtual Machine Internals by Dan Bornstein
[9] Vaibhav Kumar, Vinod Kumar, Sarkania et al., International Journal of Advanced Research in Computer Science
and Software Engineering 3(6), June - 2013, pp. 143-17
[10] Android Home Page: http://android.com
17
Thank You
Happy Learning!
18
Questions?
19