Android application developement
-
Upload
sanjay0830 -
Category
Engineering
-
view
187 -
download
0
Transcript of Android application developement
![Page 1: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/1.jpg)
ANDROID APPLICATION DEVELPEMENT
SUBMITTED TO
MR. GAURAV GUPTACSE DEPARTMENT
SUBMITTED BY
SANJAY CSE. FINAL YEAR9045371838
![Page 2: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/2.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/3.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/4.jpg)
What is the Open Handset Alliance (OHA)?
→ It's a consortium of several companies
![Page 5: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/6.jpg)
Android Architecture
![Page 7: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/7.jpg)
Application building blocks
• Activity• Intent Receiver• Service• Content Provider• Broadcast Reciever
![Page 8: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/9.jpg)
ANDROID APPLICATION DEVELOPEMENT
![Page 10: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/10.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/11.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/13.jpg)
Development of application “Sms App”
![Page 14: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/14.jpg)
Application development contd…
![Page 15: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/15.jpg)
Main Activity
Application development contd…
![Page 16: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/16.jpg)
AndroidManifest.xml
Application development contd…
![Page 17: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/17.jpg)
Application development contd…
OUTPUT ON EMULATOR OR PHYSICAL DEVICE
![Page 18: Android application developement](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/18.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/19.jpg)
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](https://reader036.fdocuments.us/reader036/viewer/2022062310/58aaa7381a28abfa0e8b578d/html5/thumbnails/20.jpg)
Q & A
http://developer.android.com
Thank you