Mobile Programing Chapter 02
Mobile Programing Chapter 02
CHAPTER TWO
BASIC OF ANDROID DEVELOPMENT
Table of Content
2
Android is an :
open source and Linux-based operating System for mobile devices
developed by the Open Handset Alliance, led by Google, and other
companies.
unified approach to application development which means
developers need only develop for Android, and their applications
should be able to run on different devices powered by Android.
A software stack for mobile devices
Android SDK for creating apps Libraries & development tools
Why Android programming ?
4
Market share
Time to market
Open platform
Cross-compatibility
Mashup capability
…..why android
5
1. Market share
you have an opportunity to develop apps for a fairly
new market that is booming on a daily basis.
The Android Market puts your app right into your
users’ hands easily!
2. Time to market
all the application programming interfaces (APIs)
that Android comes packed with
it’s easy to develop full-featured applications in a
relatively short time frame
…… why android
6
3. Open platform
The Android operating system is open platform, meaning that it’s
not tied to one hardware manufacturer and/or one provider.
openness of Android is allowing it to gain market share quickly.
All hardware manufacturers and providers can make and sell
Android devices.
4.Cross-compatibility
Android can run on many devices with different screen sizes and
resolutions. Besides being cross-compatible, Android comes with
the tools that help you develop cross-compatible applications
7
Mashup capability
Beautiful UI
Connectivity
Storage SQLite, a lightweight Relational Database
Media support
Messaging SMS and MMS
Web browser
Multi-touch
Multi-tasking
Resizable widgets
Multi-Language
Wi-Fi Direct …
Evolutions of Android OS
Evolutions of Android OS
11
Currently :
popular mobile platform
largest installed base of any mobile platform
growing fast every day
Android’s popularity is :
associated with hardware diversity (the number of devices
using the OS),
innovation, open-source/free market system,
Android OS :
different software layers arranged in stack
each layer provides different services to the layer above it.
Put together, it will make the OS, middleware and applications.
Components of android OS
Application layer
Application framework
Android runtime
Libraries
Linux kernel
Android OS architecture ….
17
Linux Kernel
18
Security
Memory & process management
File & network I/O
Device drivers
Linux Kernel… Android specific service
20
Power management
Android shared memory
Low memory killer
Interprocess communication
And much more
Libraries
21
Any questions ?