22
Android Application Development

Overview of Android

Embed Size (px)

Citation preview

Page 1: Overview of Android

AndroidApplication

Development

Page 2: Overview of Android

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

Page 3: Overview of Android

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.

Page 4: Overview of Android

ANDROID ARCHITECTURE

The software stack is split into Four Layers:

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

Page 5: Overview of Android
Page 6: Overview of Android

APPLICATION BUIDING BLOCKS1. Activity2. IntentReceiver3. Service4. ContentProvider

Page 7: Overview of Android

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

Page 8: Overview of Android

IntentReceiversa. Components that respond to broadcast

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

alarmsc. Apps can invent and broadcast their own

Intent

Page 9: Overview of Android

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

Page 10: Overview of Android

SERVICESFaceless components that run in the background

E.g. music player, network download etc…

Page 11: Overview of Android

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

Page 12: Overview of Android

DEVELOPMENT TOOLS

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

Page 13: Overview of Android

THE EMULATOR

a. Runs the same image as the device

b. Limitations: No Camera support

Page 14: Overview of Android

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

Page 15: Overview of Android
Page 16: Overview of Android

Views

Page 17: Overview of Android

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

Page 18: Overview of Android

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

Page 19: Overview of Android

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.

Page 20: Overview of Android

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

Page 21: Overview of Android

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

Page 22: Overview of Android

THANK YOU