Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

19
Mobile Application Mobile Application Development Development with ANDROID with ANDROID Umang Patel(6537) LDCE

description

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

Transcript of Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Page 1: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Mobile Application Mobile Application DevelopmentDevelopment

with ANDROID with ANDROID

Umang Patel(6537)LDCE

Page 2: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Agenda• Intro to Android platform• Platform architecture• Android 1.5 Platform Highlights• Development tools• Resources

Page 3: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

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 4: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.
Page 5: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Applications

• Built in and user apps• Can replace built in apps

Page 6: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Application Framework

• API interface• Activity manager - manages application life cycle.• View System - to build an application, including lists,

grids, text boxes, buttons• Resource Manager• Notification Manager • Content Provider

Page 7: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Libraries• C/C++ libraries• Surface manager – Handling UI Windows• 2D and 3D graphics• Media Framework• SQLite• LibWebCore

Page 8: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Android Runtime• Dalvik VM

– 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: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Linux Kernel

• Device drivers• Memory management• Process management• Networking

Page 10: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Android 1.5 Platform Highlights

• User Interface Refinements• Performance Improvements• New Features

Page 11: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

User Interface Refinements

• UI polish for: – Contacts, Call log, and Favorites– Browser– Calendar– Email– Camera & Gallery– Application management

Page 12: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Performance Improvements

• Faster Camera start-up and image capture• Much faster acquisition of GPS location (powered by

SUPL AGPS)• Smoother page scrolling in Browser• Speedier GMail conversation list scrolling

Page 13: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

New Features • Home screen

– Widgets • Bundled home screen widgets include: analog clock, calendar,

music player, picture frame, and search– Live folders

• Camera & Gallery – Improved handsfree experience– Stereo Bluetooth support

• Contacts – Specific date/time stamp for events in call log– One-touch access to a contact card from call log event

Page 14: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

New Features • Browser

– Updated with latest Webkit browser & Squirrelfish Javascript engines

– Copy 'n paste in browser– Search within a page– User-selectable text-encoding

• System – New Linux kernel (version 2.6.27)– SD card filesystem auto-checking and repair

• Google applications– Google Talk– Upload videos to Youtube – Upload photos on Picasa

Page 15: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Development Tools

• Eclipse

• Android SDKdeveloper.android.com

Page 16: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

The Emulator

• QEMU-based ARM emulator• Runs the same image as the device

• Limitations:– No Camera support– USB connections– placing or receiving actual phone

calls

Page 17: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Devices

Page 18: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

Interesting things to do• Android is open source• Opportunities for researchers• Get the source, compile and update the

device image

Page 19: Mobile Application Development with ANDROID Umang Patel(6537) LDCE.

References• http://developer.android.com• http://sites.google.com/site/io