Android -- Linux, multi-user OS and middleware, key applications
support : 2D, 3D graphics, SQLite, webkit browser
A application is composed of one or more different components.
Components: Service, Activity, Content Provider, Broadcast Receiver
Manifest file: must declare all components in the application, minimun version of Android required, hardware required.
Non-code application resources (images, layout files, strings) should include alternatives for different device configuration (such as different layout files for different size of screen)
Activity: a single screen with a user interface
A example to illustrate activities
Service: work in the background, perform long-running operations or fetch data over the network ex: playing music in the background, doesn't provide an interface
Content Providers: manage a shared data for applications, Ex: a content provider which manage user's contact information
announcements can be originated from system or application. it doesn't display a user interface, but may
create a status bar notification. Broadcast receivers are activated by an asynchronous message called Intent
Activation of components
Intent: An asynchronous message defines an action for a specific (or specific type ) of components to perform.
bind individual components to each other at run time. Ex: convey a request to show an image or to open a web page.
Resources
images, audio files anything related to the visual presentation of the application. Define animations, menus, styles, colors and the layout of activity user interface with XML. Provide resource separate from your code and provide alternative resources for different device configurations. qualifier for alternative resource: a short string that you include in the name of your resource directories in order to define the device configuration.





