Android application developement

Preview:

Citation preview

ANDROID APPLICATION DEVELPEMENT

SUBMITTED TO

MR. GAURAV GUPTACSE DEPARTMENT

SUBMITTED BY

SANJAY CSE. FINAL YEAR9045371838

CONTENTS• INTRODUCTION TO ANDROID• ABOUT OHA• ANDROID FEATURES.• ANDROID ARCHITECTURE• ANDROID APPLICATION BUILDING BLOCKS• LIFE CYCLE OF AN APPLICATION• DEVELOPMENT OF ANDROID APP• DEVELOPING TOOLS• AVD • DEVELOPMENT OF SMS APP• FINDINGS• CONCLUSION• Q&A

Introduction to Android

• Open software platform for mobile development.

• Written in C(core), C++, Java(UI).• An Open Handset Alliance (OHA) project

powered by Linux operating system.• Fast application development in Java.• Open source under the Apache 2 license.

What is the Open Handset Alliance (OHA)?

→ It's a consortium of several companies

Android Features

• Application Framework

• Dalvik virtual machine• Integrated browser based on the open source WebKit

engine.

• SQLite (Structured data storage)• Media Support (common audio ,video and image format)• Bluetooth, EDGE, 3G, and Wifi• Camera, GPS, compass, and accelerometer• Rich Development Environment

Android Architecture

Application building blocks

• Activity• Intent Receiver• Service• Content Provider• Broadcast Reciever

Life cycle of application

05/01/2023

1. A foreground process

2. A visible process 3. A service process 4. A background

process 5. An empty process

ANDROID APPLICATION DEVELOPEMENT

PREPAIRING TO DEVELOPE APPS IN ANDROID

• Must have Eclipse IDE installed.• Must have Android SDK installed.• Must have knowledge of Java.• Must have the external Google Maps library

installed in your SDK environment.• The Maps library is included with the Google APIs

add-on , which you can install using the Android SDK and AVD Manager.

DEVELOPMENT TOOL

• Android Emulator -A virtual mobile device that runs on our computer -use to design, debug, and test our applications in an actual Android run-time environment

• Android Development Tools Plugin -for the Eclipse IDE – adds powerful extensions to the Eclipse integrated environment

• Dalvik Debug Monitor Service (DDMS) -Integrated with Dalvik-this tool let us manage processes on an emulator and assists in debugging

Create an Android Virtual Device (AVD)

To create an AVD in Eclipse:1. Select Window > Android SDK and AVD Manager.

The Android SDK and AVD Manager displays.

2. Make sure the entry for Virtual Devices is selected and click New.The Create new AVD window displays.

3. Enter a Name for the AVD.4. Select Google APIs (API level 3) as the Target.5. Click Create AVD.6. Close the Android SDK and AVD Manager.

Development of application “Sms App”

Application development contd…

Main Activity

Application development contd…

AndroidManifest.xml

Application development contd…

Application development contd…

OUTPUT ON EMULATOR OR PHYSICAL DEVICE

FINDINGS

• Android uses proven technology like Java, XML and Linux.

• There is an initial learning effort.• Android doesn‘t have many of the limitations

of current mobile platforms.• It offers a rich API for application development.• Android Application development is fun.

Conclusion

• Android is open to all Industry, developers and users.• Participating in many of the successful open source projects.• Aims to be as easy to build for as the web.• Google Android is stepping in to the next level Mobile Internet.

Q & A

http://developer.android.com

Thank you

Recommended