introduction to android
TRANSCRIPT
![Page 1: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/1.jpg)
GEETANJALI INSTIUTE OF TECHNICAL STUDIES
ANDROID
![Page 2: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/2.jpg)
What is ANDROID ???
Mobile Application Development (MAD)Intro to Android platformPlatform ArchitectureApplication Building BlocksDevelopment ToolsHello Android
![Page 3: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/3.jpg)
Few reasons to go MAD…•Smart PhonesInternet access anywhere
Social networking•Millions of mobile users•Open Standards
![Page 4: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/4.jpg)
Introduction to Android
•Open software platform for mobile development•A complete stack – OS, Middleware, Applications•An Open Handset Alliance (OHA) project•Powered by Linux operating system•Fast application development in Java•Open source under the Apache 2 license
![Page 5: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/5.jpg)
![Page 6: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/6.jpg)
Linux Kernel
• Works as a HAL• Device Drivers• Memory Management• Process Management• Networking
![Page 7: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/7.jpg)
Libraries• C/C++ libraries• Interface through Java• Surface Manager – Handling UI
Windows• 2D and 3D graphics• Media codes, SQLite, Browser
engine
![Page 8: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/8.jpg)
Android Runtime• Dalvik Virtual Machine
Dex files Compact and
efficient than class files
Limited memory and battery power
• Core Libraries Java 5 Std edition Collections, I/O
etc…
![Page 9: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/9.jpg)
Application Framework
• API interface• Activity Manager –
manages application life cycle.
![Page 10: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/10.jpg)
Applications
• Built in and user apps• Can replace built in apps
![Page 11: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/11.jpg)
Application Building Blocks
•Activity•Intent Receiver•Service•Content Providers
![Page 12: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/12.jpg)
Activities
•Typically correspond to one UI screen•But, they can:•Be faceless•Be in a floating window•Return a value
![Page 13: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/13.jpg)
Intent Receivers
•Components that respond to broadcast ‘Intents’•Way to respond to external notification or alarms•Apps can invent and broadcast their own Intent
![Page 14: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/14.jpg)
Intents
•Think of Intents as a verb and object; a description of what you want doneE.g. VIEW, CALL, PLAY etc..
•System matches Intent with Activity that can best provide the service•Activities and Intent Receivers describe what Intents they can service
![Page 15: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/15.jpg)
Services
Faceless components that run in the backgroundE.g. music player, network download etc…
![Page 16: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/16.jpg)
Content Providers
•Enables sharing of data across applicationsE.g. address book, photo gallery
•Provides uniform APIs for:queryingdelete, update and insert.
•Content is represented by URI and MIME type
![Page 17: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/17.jpg)
Development Tools
Eclipse
Android SDK 1.0-2.0developer.android.com
![Page 18: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/18.jpg)
Network Connectivity
It supports wireless communications using:
GSM mobile-phone technology
3G
Edge
802.11 Wi-Fi networks
![Page 19: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/19.jpg)
Devices
![Page 20: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/20.jpg)
Application Lifecycle
•Application run in their own processes (VM, PID)•Processes are started and stopped as needed to run an application's components•Processes may be killed to reclaim resources
![Page 21: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/21.jpg)
Views
![Page 22: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/22.jpg)
Views
![Page 23: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/23.jpg)
Notification Manager
![Page 24: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/24.jpg)
What is the Open Handset Alliance (OHA)???
• 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 25: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/25.jpg)
![Page 26: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/26.jpg)
Limitations Bluetooth limitationso Android doesn't support:
Bluetooth stereo Contacts exchange Modem pairing Wireless keyboards
Firefox Mobile isn't coming to Android o Apps in Android Market need to be
programmed with a custom form of Java Mozilla and the Fennec won't have that
![Page 27: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/27.jpg)
THANX…
N
QUERIES ???
![Page 28: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/28.jpg)
GET SMARTER GET
ANDROID…
![Page 29: Introduction to Android](https://reader035.vdocuments.net/reader035/viewer/2022081602/55580216d8b42a200d8b52c8/html5/thumbnails/29.jpg)
NITIN MEHRA
PRESENTED BY:-