Open main menu

CDOT Wiki β

Changes

Android Concepts

44 bytes added, 16:50, 25 March 2011
Application Building Blocks
== Android Architecture ==
Here are the major components parts of the Android architecture based on this [definition [http://developer.android.com/guide/basics/what-is-android.html source]from the Android web]
[[Image:system-architecture.jpg|800px| ]]
{| class="wikitable" border="1"
! Component !! ResponsabilityResponsibility
|-
| Surface Manager || composing drawing surface onto the screen
| Resource Manager || used to store localized layouts, strings, bitmaps, etc.
|-
| View System || building blogs blocks of the UI, handles the event dispacherdispatcher, drawing, etc.
|-
| Notification Manager || anables enables apps to recognize and display common alerts in the status bar
|
|}
== Application Building Blocks ==
'''1. Activity''' - an a UI component that interacts with an a user
'''2. Service''' - a task running in background and it does not have any UI
'''3. Content Provider''' - component that allows applications to share data with other applications.
'''4. Intent Broadcast Receiver''' - component that responds to notification or status changes. Allows an application to register some code that will be run when it is triggered by an external event.
The basic idea in Android OS is to reuse and replace components (OSGi model).
1
edit