Overview of Android

Preview:

Citation preview

AndroidApplication

Development

INTRODUCTION TO ANDROID

Open software platform for mobile development An Open Handset Alliance (OHA) project Powered by Linux operating system Fast application development in Java Open source under the Apache 2 license

OPEN HANDSET ALLIANCE

The open handset alliance(OHA) is a business alliance of firm to develop open standard for mobile devices.

Devoted to advancing open standards for mobile devices

Develop technologies that will significantly lower the cost of developing and distributing mobile devices and services.

ANDROID ARCHITECTURE

The software stack is split into Four Layers:

1. The application layer2. The application framework3. The libraries and runtime4. The kernel

APPLICATION BUIDING BLOCKS1. Activity2. IntentReceiver3. Service4. ContentProvider

ACTIVITIESa. Typically correspond to one UI screenb. But, they can:Be facelessBe in a floating windowReturn a value

IntentReceiversa. Components that respond to broadcast

‘Intents’b. Way to respond to external notification or

alarmsc. Apps can invent and broadcast their own

Intent

INTENTSa. Think of Intents as a verb and object; a

description of what you want done E.g. VIEW, CALL, PLAY etc..

b. System matches Intent with Activity that can best provide the service

c. Activities and IntentReceivers describe what Intents they can service

SERVICESFaceless components that run in the background

E.g. music player, network download etc…

ContentProviders• Enables sharing of data across applications

E.g. address book, photo gallery• Provides uniform APIs for:• querying• delete, update and insert.•Content is represented by URI and MIME type

DEVELOPMENT TOOLS

a. Eclipse or Android Studiob. Android SDK 2.0 or higherc. The AVD Manager

THE EMULATOR

a. Runs the same image as the device

b. Limitations: No Camera support

APPLICATION LIFECYCLE • Application run in their own processes .• Processes are started and stopped as needed to run an application's components• Processes may be killed to reclaim resources

Views

FEATURES OF ANDROID

• Background Wi-Fi location still runs even when Wi-Fi is turned off• Developer logging and analyzing enhancements• It is optimized for mobile devices.• It enables reuse and replacement of components.• Java support ,media support, multi touch, video calling,multi tasking ,voice based features, screen capture, camera ,bluetooth,gps,compass and accelerometer,3G

a. The ability for anyone to customize the Google Android platform

b. It gives you better notification.c. It lets you choose your hardware.d. It has better app market(1,80,000 application)e. A more mature platformf. With the support of many applications, the user can

change the screen display.g. Supports all Google services: Android operating system

supports all of Google services ranging from Gmail to Google reader. all Google services can you have with one operating system, namely Android.

ADVANTAGES

DIS-ADVANTAGESa. Android Market is less control of the manager,

sometimes there are malware. b. Wasteful Batteries, This is because the OS is a lot

of "process" in the background causing the battery quickly drains.

c. Sometimes slow device company issued an official version of Android your own .

d. Extremely inconsistence in design among apps.e. Very unstable and often hang or crash.

CONCLUSION:a. Android is a truly open, free development platform based

on Linux and open source. Handset makers can use and customize the platform without paying a royalty

b. Android is open to all: industry, developers and users. c. Participating in many of the successful open source

projects .d. Aims to be as easy to build for as the web. e. Google Android is stepping into the next level of Mobile

Internet

REFERENCE[1]. Hewlett-Packard Education Services Notes[2]. Android Developers Webpage- http://developer.android.com/develop/index.html[3]. Tutorials Point Webpage-http://www.tutorialspoint.com/android/index.html

THANK YOU