Você está na página 1de 16

What you should know

Object-Oriented Programming Concepts


Experience with Java
Experience with Eclipse Environment
Knowledge of Android Capabilities
What is Android?
Android is a Linux-based operating system for
mobile devices such as smartphones and tablet
computers. It is developed by the Open Handset
Alliance led by Google.
Android Architecture
Runs on top of Linux 2.6.
Dalvik VM optimized for mobile devices.
Integrated browser based on the Webkit
engine.
Optimized graphics with open GL ES.
SQLite database for structured data
storage.
Recent Android Versions
Application Fundamentals
Application are written in Java Programming
Language
Compiled into an Android Package Kernel
(APK)
Applications are consist of (1) Components, a
(2) Manifest File and (3) Resources
Components
Activities
Services
Content Provider
Broadcast Receiver
Intent
Activities
An activity represents a single service with a
user interface.
Androids version of Swings JFrame
Activities
Most applications contains multiple
activities.
Activities
When a new activity starts, It is pushed into
the Back Stack.
Activities
User Interface can be built with XML or in Java.

XML
JAVA
Services
Services performs Longrunning
operations in the background.
Does not contain any user interface.
Useful for things like network
operations, playing music, etc.
Broadcast Receivers
A component that responds to system wide
broadcast movements.
Example includes when the screen turns
off,the battery is low, etc.
Application can also initiate their own
broadcast.
No user interface
They can create status bar notifications to
alert the user.
Content Provider
Used to store and retrieve data and
make it accessible to all applications.
Data is exposed as a simple table on a
database model.
Androids contains many providers for
things like contacts,media,etc.
Intent
Used to move from one component to
another
Android Manifest File
Applications must have an Android Manifest
XML file in its root directory.
Presents information about the applicationto
the adroid system.
Describes the components used in the
application.
Declares permissions required to run the
application.
Declares the minimum API level that the
application requires.

Você também pode gostar