Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
27 views

Android Application Development

This document provides an overview of Android application development. It begins with a brief history of Android and examples of popular Android phones. It then discusses key aspects of the Android platform like versions, APIs, and the software development kit. The document outlines the basic structure of an Android application, including activities, services, and intents. It also summarizes some key features of Android like an embedded Linux kernel, libraries, and the Dalvik virtual machine. Finally, it lists some common Android application components and provides a brief introduction to building Android applications.

Uploaded by

hitendra lal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Android Application Development

This document provides an overview of Android application development. It begins with a brief history of Android and examples of popular Android phones. It then discusses key aspects of the Android platform like versions, APIs, and the software development kit. The document outlines the basic structure of an Android application, including activities, services, and intents. It also summarizes some key features of Android like an embedded Linux kernel, libraries, and the Dalvik virtual machine. Finally, it lists some common Android application components and provides a brief introduction to building Android applications.

Uploaded by

hitendra lal
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Android Application

Development

By-
PRASHANT KUMAR LAL
ANDROID PHONES

Sony X10

HTC G1 Samsung i7500 HTC Hero Motorola Cliq

HTC Magic HTC Tattoo


Motorola Droid
Samsung Moment
ANDROID VERSION
WHY ANDROID…??

* Open source
* Portability
* Easily accessed
* Huge marketplace
* Flexibility
* Lower entry barrier
* Job prospects
* Profitability
* Penetration of different devices
* Social apps
ANDROID APPLICATION
DEVELOPMENT

Android
Android Studio
SDK

Android
Android
Mobile
Emulator
Device
ANDROID DEVELOPMENT

Java Source
Android
Manifest
Generated Java .dex Dalvik
Class Compiler File VM
Resource
XML
Android
Libraries
GOING WITH THIS….

* Android Tutorial
* Android Widgets
* Activity and Intents
* Android Fragments
* Android Menu
* Android Service
* Android Device
* Android Basic Example with code
* Android App on play store
HISTORY OF ANDROID
1. The history and versions of android are interesting to know. The
code names of android ranges from A to P currently, Let's
understand the android history in a sequence.

2. Initially, Andy Rubin founded Android Incorporation in Palo


Alto, California, United States in October, 2003.
3. In 17th August 2005, Google acquired android Incorporation.
Since then, it is in the subsidiary of Google Incorporation.
4. The key employees of Android Incorporation are Andy Rubin, Rich
Miner, Chris White and Nick Sears.
5. Originally intended for camera but shifted to smart phones later
because of low market for camera only.
6. Android is the nick name of Andy Rubin given by coworkers because
of his love to robots.
7. In 2007, Google announces the development of android OS.
8. In 2008, HTC launched the first android mobile.
INTODUCTION TO ANDROID
APPLICATION
* Android is a mobile software platform (OS) from Google and the
Open Handset Alliance.

* It is powered by the Linux Kernel


* The underlying OS is written in C or C++
* But applications are built using Java
* Built-in Apps = Apps created in SDK
* Is an open source platform
* Thus third party can add functionalities and does not have to rely on
Google (ex: Multimedia Codecs, Sophisticated shell environment ,
etc.)
INTRODUCTION

Android is a complete set of software for mobile devices such as


tablet computers, notebooks, smartphones, electronic book
readers, set-top boxes etc.
It contains a linux-based Operating
System, middleware and key mobile applications.
It can be thought of as a mobile operating system. But it is not
limited to mobile only. It is currently used in various devices such
as mobiles, tablets, televisions etc.
ANDROID FEATURES

It’s obvious that mobile device may take the place of PC in future
OS plays a vital part

Embedded
Processor Device Middleware Apps
OS
APPLICATION FRAMEWORK
LINUX KERNAL
• Works as a HAL
• Device drivers
• Memory management
• Process management
• Networking
LIBRARIES
• C/C++ libraries
• Interface through Java
• Surface manager – Handling UI Windows
• 2D and 3D graphics
• Media codecs, SQLite, Browser engine
ANDROID RUNTIME
• Dalvik VM
– Dex files
– Compact and efficient than class files
– Limited memory and battery power
• Core Libraries
– Java 5 Std edition
– Collections, I/O etc…
APPLICATION FRAMEWORK

• API interface
• Activity manager – manages
application life cycle.
APPLICATION

• Built in and user apps


• Can replace built in apps
APPLICATION BUILDING BLOCK

*Activity
*Service
*Broadcast Receivers
*ContentProvider
ACTIVITIES
Typically correspond to one UI screen, Basically
through which user interact.
But, they can:
*Be faceless
*Be in a floating window
*Return a value
SERVICES
A service is a component that runs in the background to
perform long-running operations without needing to interact
with the user and it works even if application is destroyed. A
service can essentially take two states −
Started- A service is started when an application component,
such as an activity, starts it by calling startService(). Once
started, a service can run in the background indefinitely,
even if the component that started it is destroyed.
Bound-A service is bound when an application component
binds to it by calling bindService(). A bound service offers a
client-server interface that allows components to interact
with the service, send requests, get results, and even do so
across processes with interprocess communication (IPC).
SERVICES LIFE CYCLE
INTENTS RECIVER

*Components that respond to broadcast


‘Intents’
*Way to respond to external notification
or alarms
*Apps can invent and broadcast their own
Intent

You might also like