introduction to android
DESCRIPTION
By : Bobby JindalTRANSCRIPT
Mobile Application Development (MAD)
Intro to Android platform
Platform architecture
Application building blocks
Development tools
Android Apps.
Smart Phones◦Internet access anywhere◦Social networking
Millions of mobile users
Open standards
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
List Of Android Devices
1.5 (Cupcake)
1.6 (Donut)
2.0 / 2.1 (Eclair)
2.2 (Froyo)
2.3 (Gingerbread)
3.0 (Honeycomb Gingerbread)
? (Ice Cream)
Why Android ..? Browsing Multi-notification Endless personalization Market Google integration Open Source Open to carriers
• Develop technologies that will significantly
lower the cost of developing and distributing mobile devices and services
• Devoted to advancing open standards for mobile devices.
• Application framework• Optimized graphics :3D - OpenGL ES
1.0• SQLite - for data storage• Web Kit - Integrated web browser• Dalvik - Java Virtual Machine• Connectivity - Bluetooth, Wi-Fi, GPS • Media support• GSM Telephony• Rich development environment
• Email client, SMS program, calendar, maps(googles), browser, contacts, and others.
• written using the Java programming language.
• Can replace built in apps.
Views such as lists, grids, text boxes, buttons, and even an embeddable web browser
Content Providers that enable applications to access data from other applications (such as Contacts), or to share their own data
A Resource Manager, providing access to non-code resources such as localized strings, graphics, and layout files
A Notification Manager that enables all apps to display custom alerts in the status bar
An Activity Manager that manages the life cycle of applications and provides a common navigation backstack
Android SDK provides the tools and APIs necessary to begin developing applications on the Android platform using the Java programming language
Download Android SDK Corehttp://code.google.com/android/download.html
To Develop with Eclipse IDE, we can add the plugin - Android Development Tools (ADT) https://dl-ssl.google.com/android/eclipse/
1-13
Apps can invent and broadcast their own Intent
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
GMail
Contacts
Home
Blogger
Chat
Client component makes a request for a specific action
“Pick photo”
Picasa
System picks best component for that action
Blogger
Photo Gallery
Development requirements
• Java
• Android SDK
• Eclipse IDE (optional)
- Easy to customize the Google Android
platform
- Android is a multi-process system, in which each application (and parts of the system) runs in its own process. Most security between applications and the system is enforced at the process level through standard Linuxfacilities, such as user and group IDs that are assigned to applications.
• How background app interact with users
• Consistent notification presentation