Mobile application development

Post on 28-Jan-2015

457 views 0 download

Tags:

description

A brief history of mobile phone and an introduction to mobile application development..

transcript

Mobile Application Development

Rohith Nandakumar

Introduction

A Brief History

1956: SRA/Ericsson MTA 1983 : Motorola DynaTAC 8000X 1996: Motorola StarTAC

1997: Nokia Communicator 2002 : RIM BlackBerry 5810 2002: Sanyo SCP-5300

Smartphones

Android

What is Android?• Operating system for mobile devices

• Based on Linux, but NOT Linux

• Google purchased Android Inc. in 2005

•  Open Handset Alliance: a consortium of 80 hardware, software, and telecom companies devoted to advancing open standards for mobile devices.

• Google released most of the Android code under the Apache License

Developer Environment

• Source! - http://source.android.com/

• SDK - http://developer.android.com/

• IDE & Tools - Eclipse ADT Plugin for Eclipse Device Emulator

• Programming Language - Java

Architecture

LinuxLinux Kernel

Native Libraries

Runtime

Android Framework

Applications

Vocabulary• Activity: A single screen. Your app is made up of one or

more Activities

• Service: A task that can be running while not visible.

• Intent: Code to accomplish a verb, like “call number” or “open image”

• Content Provider: Data and an API that any app can access

• Resource: Text, pictures, sound, etc.

iPhone

What is iPhone?

• Steve Jobs unveiled the iPhone on January 9, 2007

• Unlike Android, only one device

• Latest version – iPhone 4 released in 2010

Developer Environment

• SDK - http://developer.apple.com/

• IDE & Tools - Xcode Interface Builder iPhone Simulator

• Programming Language – Objective C

• Other Requirements: Apple Mac Computer

MVC Model

• iPhone follows the Model View Controller Model

View ModelController

Interface Builder• Held in .xib files (compiled NIBs)

• Uses the UIKit framework

• Create UI elements

• Link to an object reference in the XIB through properties marked as IBOutlet

• Link actions to methods defined IBAction

Deployment

Simulator iPhone

App Store

FreeX86

Runs at desktop speeds

Deployment certificates

100 devices per year

Tips

• Get the UI right (HIG)

• Conserve resourceso RAMo CPUo Filesystem

Other Tools

• Development tool that allows web developers to take advantage of the core features in the iPhone, Android, and Blackberry SDK using JavaScript.

o Phone Gap

o Titanium Appcelerator

Thank You