You are on page 1of 16

Android

Application development
What is android?
• Android is an open source and Linux-
based Operating System for mobile
devices such as smartphones and tablet
computers. Android was developed by
the Open Handset Alliance, led by Google,
and other companies.
Cont’d…
• The first beta version of the Android
Software Development Kit (SDK) was
released by Google in 2007, whereas the
first commercial version, Android 1.0,
was released in September 2008.
Features of Android
Feature Description
Beautiful UI Android OS basic screen provides a beautiful and
intuitive user interface.
GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth, Wi-
Connectivity
Fi, LTE, NFC and WiMAX.
SQLite, a lightweight relational database, is used for
Storage data
storage purposes.
Cont’d…
Feature Description
H.263, H.264, MPEG-4 SP, AMR, AMR-WB, AAC, HE-AAC,
Media AAC 5.1, MP3, MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF,
support
and BMP
Messaging SMS and MMS
Cont’d…
Feature Description
Multi-tasking User can jump from one task to another and same time
various application can run simultaneously.
Widgets are resizable, so users can expand them to
Resizable
widgets show
more content or shrink them to save space
Multi-
Support single direction and bi-directional text.
Language
Cont’d…
Feature Description
Multi-tasking User can jump from one task to another and same time
various application can run simultaneously.
Widgets are resizable, so users can expand them to
Resizable
widgets show
more content or shrink them to save space
Multi-
Support single direction and bi-directional text.
Language
Android Core Building Blocks
• The core building blocks or fundamental
components of android are activities, views,
intents, services, content providers, fragments
and AndroidManifest.xml.
Cont’d…
Activity
An activity is a class that represents a
single screen. It is like a Frame in AWT.

public class MainActivity extends Activity {  
         } 
Cont’d…
View
A view is the UI element such as button,
label, text field etc. Anything that you see
is a view.
Cont’d…
Intent
Intent is used to invoke components. It is mainly used
to:
 Start the service
 Launch an activity
 Display a web page
 Display a list of contacts
 Broadcast a message
 Dial a phone call etc.
Cont’d…
Service
 Service is a background process that can
run for a long time.
 There are two types of services local and
remote. Local service is accessed from
within the application whereas remote
service is accessed remotely from other
applications running on the same device.
Cont’d…
Content Provider
– Content Providers are used to share
data between the applications.
Fragment
– Fragments are like parts of activity. An
activity can display one or more
fragments on the screen at the same
time.
Cont’d…
AndroidManifest.xml
• It contains information about activities, content
providers, permissions etc. It is like the
web.xml file in Java EE.
Android Virtual Device (AVD)
• It is used to test the android application
without the need for mobile or tablet etc. It can
be created in different configurations to
emulate different types of real devices.
Cont’d…
Widgets-
– These are the small visual application
components that you can find on the
home screen of the devices. They are
special variation of Broadcast Receivers
that allow us to create dynamic,
interactive application components for
users to embed on their Home Screen.
Thank you!

You might also like