You are on page 1of 44

Student Executive Program

M.Ragul III M.C.A., S.Semmozhi, II M.C.A.,

1. Introduction

Everybody loves iPhones Everybody wants iPhones ... But Why ??? Let us explain to you !

2. Platform
2.1 Hardware

Color: Black (8 GB or 16 GB) or white (16 GB) Weight: 133 g Screen size: 3.5 in 2 megapixel camera Screen resolution: 480320 pixels Wi-Fi (802.11b/g)

Bluetooth 2.0 Multi-touch screen 3G for broadband data speeds : (UMTS / HSPDA: UMTS 850/1900/2100) GPS

2. Platform
9 cm (3.5 in) liquid crystal display
HVGA touchscreen created for use with a finger or multiple finger for multi-touch sensing

262.144 colors

Loudspeakers are located above the screen. Volume controls are located on the left side. Both speakers are used for Handsfree operations and media playback

2. Platform

Built-in rechargeable lithiun-ion non-removable battery Charging via USB to computer system or power adapter Talk time : Up to 5 hours on 3g and 10 hours on 2G Standby time: Up to 300 hours

Internet use: Up to 5 hours on 3G Up to 6 hours on Wi-Fi

Video playback : Up to 7 hours Audio playback : Up to 24 hours

2. Platform

SIM card
The Sim card is located in a slot at the top of devices. It can be ejected with a paperclip or a tool included with the iPhone 3G. In most countries, the iPhone is usually sold with a SIM lock, which prevents the iPhone from being used on different mobile networks.

2. Platform
2.2 iPhone OS

iPhone OS

4 abstraction layers Cocoa Media Core Services Core OS

2. Platform
2.2 iPhone OS


Key frameworks for application development UIKit Framework: GUI Foundation Framework

2. Platform
2.2 iPhone OS

Media :

Multimedia Services Graphics/Audio/Video frameworks Quartz: CoreGraphics, Quartzcore framework OpenGL ES CoreAudio OpenAL Media Player Framework

2. Platform
2.2 iPhone OS

Core Services Layer :

Provides fundamental system services for all applications Services used directly/indirectly Building foundation of all system tech. Core Foundation framework SQL Lite and XML support access

2. Platform
2.2 iPhone OS

Core OS Layer

Encompasses kernel environment + drivers + basic OS interfaces Responsible for every aspect of the OS Manages core functions

2. Platform
2.2 iPhone OS



Battery life improvement Overall stability improvement 3G firmware upgrades MMS Copy Paste Landscape typing Expansion Developer APIs

Networking / 1

Technical Specifications
(850, 1900, 2100 MHz) GSM/EDGE (850, 900, 1800, 1900 MHz) Wi-Fi (802.11b/g) Bluetooth 2.0 + DER

Networking / 2
Bonjour (= zero-configuration network)
spontaneous connection to IP-networks auto-recognition of provided services among members

Several frameworks/libraries for iPhone OS networking tasks

CoreFoundation Framework
create, read, update, or delete single URLs CFNetwork communication with HTTP or FTP servers, Bonjour service management, BSD sockets CFNetServices discovery or registration of network ressources (e.g. printers, file servers) BSD networking APIs low-Level networking functions not covered elsewhere


Root access disabled Keychain Application Sandbox Secure network connections Certificates and identities Authentication mechanisms VPN support Remote wipe Enforced security and password policies

User Experience
Apple Vision:

Simple Intuitive = Easy User-centered Innovative Clean

+ For iPhone: - Wireless Entertainment Center

- Touch

Design Concept
With Touch:
Application 1 Enter Text BIGGER BUTTONS

Less Screenspace

Less Info


Usual UI (User Interface) wont work

Design Concept
New Concept of UI

Design for fingers, not just for eyes

As the early Nokia slogan says:

Touch Me
(Tap is king)

Design Concept
New UI: -Grid-like Home Screen -Each task an Icon -Virtually larger Home Screen with gestures -Dynamic screens, not static. -Tap to start application and use the phisical button to go back to home screen

Competition The Touch Generation

HTC Touch Diamond

Nokia 5800 Express Music

LG Cookie

And more...

The Mobile Entertainment Center

Safari iTunes Photos YouTube Mail Etc...

Gaming on iPhone


Ex: Super Monkey Ball Touch

Ex: Smule Ocarina

Unity 3D

Future Possibilities

Recently: -Amazon App For iPhone -Announcement of iPhone OS 3.0: -Cut, Copy and Paste Function; -Send Photos, Contacts and much more functions; -Mail application in wide screen view. Future Vision: Wireless devices transfering files with a finger wipe

3. Software Development
3.1 Development Requirements


XML Objective c Basic C++

3. Software Development
3.1 Development Requirements


Developer license Standard Program $99 Enterprise Program $299

3. Software Development
3.1 Development Requirements


iPhone SDK + iPhone Simulator XCode Other languages? -> Cross Compilers

3. Software Development
3.2 IDE and Tools

The iPhones SDK :

Development of application for iPhone Access the iPhone Dev Center to gain resources

3. Software Development

The iPhones SDK :

Xcode iPhone Simulator Instruments Interface Builder

3. Software Development

Xcode :

Carbon : C & C++ Cocoa : Objective-C, AppleScript, Java

3. Software Development

iPhone Simulator :

Test your application Include a complete and conformant implementation of OpenGL ES 1.1

3. Software Development

Limitations of iPhone Simulator :

Maximum of two fingers. Accelerometer. OpenGL ES.

3. Software Development

Instruments :

Includes an OpenGL ES instrument. Know how your application uses resources such as the CPU, memory, file system.

3. Software Development

Interface Builder :

Graphical development environment. Includes a .xib file that contains Interface Builder definitions where graphical objects are placed.

3. Software Development
3.3 Programming Obectif-C

+ - implemented by B.J. Cox in 1980s

- based on C language and Smalltalk - programming in iPhone based on OOP and MVC

3. Software Development

OOP in Objective-C
Programming syntax

Data types & expressions Operators Branching, conditions and loops Preprocessors
Object and classes

@interface @implementation Member declaration Method declaration Calling method

3. Software Development

The @interface section has the general format: @interface ClassName: ParentClassName { //Member declarations; } // Method declarations; @end Member declaration : (Directive) (Data type) (Variable name) Method declaration : (method type) (return type) (method name) (:) (Argument type) (Argument name) ;

3. Software Development

The @implementation has the following format: @implementation ClassName; // method definition @end Apply methods to classes or instances: [ClassOrInstance method name]; // for non argument [ClassOrInstance (method name): arguments]; // for one arguments Multiple arguments:
(Method type) (Return type) (Method name) (:) (Argument type) (Argument name) (Some name) (:) (Argument type) (Argument name);

Calling: [ClassOrInstance (method name): argument

1 (some name): argument2;]

3. Software Development

#import <stdio.h> #import <objc/Object.h> //------- @interface section ------@interface SomeClass: Object { int number; } -(void) print; -(void) setNumerator: (int) n; @end

3. Software Development

//------- @implementation section ------@implementation SomeClass; -(void) print { printf (" %i ", number); } -(void) setNumber: (int) n{ numerator = n; } @end

3. Software Development

//------- program section ------int main (int argc, char *argv[]){ SomeClass *exClass = [[SomeClass alloc] init]; //SomeClass *exClass = [SomeClass new] [exClass setNumber: 1];// call setNumber with arg =1 printf ("The number is:"); [exClass print]; [exClass free]; // Free memory return 0; }

3. Software Development

Foundation framework
Offer basic objects, collection of objects Automemory management:

NSAutoreleasePool Auto keeps track of object Keeps number of reference to objects

4. Overall Evaluation
4.1 Advantages

4 abstract layers : safety for developer. Superior User Interface / experience. Easy applications store. Special Features : Visual voicemail. Touch interaction. Big storage capacity. Real-time GPS

4. Overall Evaluation
4.2 Limitations

2 devices run the OS Battery is not removable Special features must be supported by provider High price (for unlocked version)

4. Overall Evaluation
4.3 Conclusions

Usabilty is very high Hype iPhone is a good platform to create applications which can be great.