20
ANDROID APPLICATION DEVELPEMENT SUBMITTED TO MR. GAURAV GUPTA CSE DEPARTMENT SUBMITTED BY SANJAY CSE. FINAL YEAR 9045371838

Android application developement

Embed Size (px)

Citation preview

Page 1: Android application developement

ANDROID APPLICATION DEVELPEMENT

SUBMITTED TO

MR. GAURAV GUPTACSE DEPARTMENT

SUBMITTED BY

SANJAY CSE. FINAL YEAR9045371838

Page 2: Android application developement

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

Page 3: Android application developement

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.

Page 4: Android application developement

What is the Open Handset Alliance (OHA)?

→ It's a consortium of several companies

Page 5: Android application developement

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

Page 6: Android application developement

Android Architecture

Page 7: Android application developement

Application building blocks

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

Page 8: Android application developement

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

Page 9: Android application developement

ANDROID APPLICATION DEVELOPEMENT

Page 10: 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.

Page 11: Android application developement

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

Page 12: Android application developement

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.

Page 13: Android application developement

Development of application “Sms App”

Page 14: Android application developement

Application development contd…

Page 15: Android application developement

Main Activity

Application development contd…

Page 16: Android application developement

AndroidManifest.xml

Application development contd…

Page 17: Android application developement

Application development contd…

OUTPUT ON EMULATOR OR PHYSICAL DEVICE

Page 18: Android application developement

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.

Page 19: Android application developement

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.

Page 20: Android application developement

Q & A

http://developer.android.com

Thank you