Android Application Development: Umang Kejriwal
Android Application Development: Umang Kejriwal
Development
Umang Kejriwal
[email protected]
What is Android..??
Android is a open source operating system based on Linux Kernel.
It is designed primarily for touch screen mobile devices such as smart
phones and tablet computers.
It was initially developed by Android Inc. and later on it was purchased by
Google on 17th Aug,2005 in conjunction with the Open Handset Alliance(a
group of 84 hardware, software and telecommunication companies like
HTC, Intel etc.)
It was officially unveiled in 2007.
Fast application development in Java
Android Evolution
Other Mobile OS
iOS by Apple
Windows by Microsoft
Blackberry by RIM
Java by Oracle
Symbian by Nokia
and many more………
iOS vs Android…Which is Better??
iOS
Positive Points….
Secure integration of software and hardware.
Fewer hardware and software configuration required.
Apple actively checks for app quality.
Negative Points...
Mac-only development environment.
Apple may reject applications.
Why only Android..??
Positive Points….
The one big reason for choosing Android Application development is
the low level investment is needed to get started.
The SDK and all associated development tools are free.
The number of game engines are free.
All you really need is a Computer and Brain !!
Negative Points...
Make money less than on iOS.
Many more hardware and software configuration to be worried about.
Absence of screening process that causes
More Spams
Lower Quality apps and games
Application Building Blocks
Intent
Activity Services
Broadcast Content
Reciever Provider
Activity-Typically A Screen
OnPause()
OnStop()
OnDestroy()
OnRestart()
Intent-Switching Between Activities
Service Lifecycle
Content Providers
Enables sharing of data across
applications.
E.g.- Address book, photo gallery
Android Broadcast
System Receiver
Java Android
Coding Eclipse IDE App
XML Coding
Installation
Eclipse Installation
And
Android SDK Configure
Installation
Click On
Android Virtual
Device Manager
Installation
Click the New button.
Installation
For this AVD, in the Name field, type any
Name say 2_2_Default_HVGA
AVD NAME
Emulator
Installation
Default_HVGA emulator.
Installation
Click and drag to the
right side of the
screen to
Unlock the Emulator
Project Structure
Project Structure
src - Directory for your app's main source files. By default, it includes
an Activity class that runs when your app is launched using the app icon.
Values - Directory for other various XML files that contain a collection
of resources, such as string definitions.