SlideShare une entreprise Scribd logo
1  sur  95
The iPhone and the SDK

   Mike Qaissaunee
   mqaissaunee@brookdalecc.edu
   http://q-ontech.blogspot.com
   www.twitter.com/mqaissaunee
   www.slideshare.net/mqaissaunee
What is the iPhone?
What is the iPhone?
• Apple’s Smartphone
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    • Built in Accelerometer
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    • Built in Accelerometer
    • GPS or Position Triangulation
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    • Built in Accelerometer
    • GPS or Position Triangulation
    • Multi Touch Interface
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    •   Built in Accelerometer
    •   GPS or Position Triangulation
    •   Multi Touch Interface
    •   Sensors
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    •   Built in Accelerometer
    •   GPS or Position Triangulation
    •   Multi Touch Interface
    •   Sensors
    •   Keyboard
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    •   Built in Accelerometer
    •   GPS or Position Triangulation
    •   Multi Touch Interface
    •   Sensors
    •   Keyboard
    •   Safari
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    •   Built in Accelerometer
    •   GPS or Position Triangulation
    •   Multi Touch Interface
    •   Sensors
    •   Keyboard
    •   Safari
    •   Mail
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    •   Built in Accelerometer
    •   GPS or Position Triangulation
    •   Multi Touch Interface
    •   Sensors
    •   Keyboard
    •   Safari
    •   Mail
    •   Calendar
What is the iPhone?
• Apple’s Smartphone
• More than a Phone?
    •   Built in Accelerometer
    •   GPS or Position Triangulation
    •   Multi Touch Interface
    •   Sensors
    •   Keyboard
    •   Safari
    •   Mail
    •   Calendar
    •   Wide Screen Display
iPhone Overview
• Smart Phone +
  – iPod (Widescreen)
  – Wireless Internet Communication Device
       – Wifi 802.11 b/g
  – PDA
  – Computer (OS X)
  – Camera
  – App Store
iPhone Development
• Development done with the help of
  iPhone SDK (requires an Intel MAC)
  – Uses Objective-C
  – XCODE + Other tools
  – Can submit your application to App Store
       – $99 membership
       – Review your application + code
  – Revenue model
       – You set your price (free, 99 cents, $9.99, etc)
       – 70% developer (you) and 30% Apple
iPhone Economics



• 30 Million Touch devices
• Assume $1.99 application
• Popular app - 10% of devices (3 Million)
  – $6 Million = $4.2 Million to Developer!
• Less popular - 1% of devices (300,000)
  – $600,000 = $420,000 to Developer!
iPhone SDK
iPhone SDK
iPhone SDK includes five powerful
iPhone programming tools

1.XCODE
    •   Professional text editor
    •   Debugger
    •   GCC compiler
iPhone SDK
iPhone SDK includes five powerful
iPhone programming tools

1.XCODE
    •   Professional text editor
    •   Debugger
    •   GCC compiler
iPhone SDK
iPhone SDK includes five powerful
iPhone programming tools

1.XCODE
    •   Professional text editor
    •   Debugger
    •   GCC compiler
iPhone SDK
iPhone SDK includes five powerful
iPhone programming tools

1.XCODE
     •   Professional text editor
     •   Debugger
     •   GCC compiler
2.Interface Builder
     •   For creating user interface
iPhone SDK
iPhone SDK includes five powerful
iPhone programming tools

1.XCODE
     •   Professional text editor
     •   Debugger
     •   GCC compiler
2.Interface Builder
     •   For creating user interface
3.Instruments
     •   For optimizing application
iPhone SDK
iPhone SDK

4. Dash Code
    •   For creating web applications for Safari
iPhone SDK

4. Dash Code
    •   For creating web applications for Safari
5. iPhone Simulator
iPhone OS can be viewed as set of layers
Cocoa Touch Layer
the basic tools to
                    – Application management
implement
                    – Graphics and windowing support
graphical, event-
driven applications – Event-handling support
                    – User interface management
                    – Objects representing the standard
                      system views and controls
                    – Support for text and web content
                    – Accelerometer data
                    – The built-in camera
                    – The photo library
                    – Device-specific information
Media Layer
provides graphics and
media technologies for
creating advanced
multimedia experiences
                         – Graphics Technologies
                         – Core Audio
                         – OpenAL
                         – Video Technologies
Core Services

Provides fundamental or
core system services that
all applications use        – Address Book
                            – Core Location
                            – CFNetwork
                            – Security
                            – SQLite
Core OS
• encompasses the kernel
  environment, drivers, and basic      – Threading (POSIX
  interfaces of the operating system     threads)
• Provides access to low-level         – Networking (BSD
  features of the operating system       sockets)
                                       – File-system access
                                       – Standard I/O
                                       – Bonjour and DNS
                                         services
                                       – Location information
                                       – Memory allocation
iPhone Hardware and Software Features
          Available to Applications
• Accelerometer
  – iPhone and iPod touch have 3 accelerometers to
    measure/detect movement along each of the primary (x,
    y, and z) axes in three-dimensional space
  – The system uses the accelerometers to monitor a
    device’s current orientation and to notify applications
    when that orientation changes
  – Applications can access accelerometer data directly
iPhone Hardware and Software Features
        Available to Applications

• Core Location
  – Core Location monitors signals from cell towers
    and Wi-Fi hotspots to triangulate the user’s current
    position
  – Accuracy of location information and threshold for
    reporting location changes can be specified
  – Use sparingly – drains battery
iPhone Hardware and Software Features
         Available to Applications
• Contacts
  – The Phone, Mail, and SMS Text applications use
    contact list to identify contacts and to facilitate
    basic interactions such as starting a phone call,
    email, or text message
  – Your applications can access contacts for similar
    purposes or to get other information relevant to
    your application
iPhone Hardware and Software Features
         Available to Applications
• The Camera and Photo Library
  – iPhone has a camera and photo library -- iPod
    Touch has no camera
  – iPhone OS provides access to both of these
    features
  – You can incorporate system-provided picker
    interfaces into your application
  – These interfaces provide standard system views
    for selecting a photo from the user’s photo
    library or taking a picture using the camera
App Distribution
Three methods of distribution:
   – App Store
      • Wi-Fi/EDGE/HSDPA on iPhone
      • Desktop syncing via iTunes
   – Enterprise
      • Proprietary in-house apps
      • Requires 500+ employees
   – Ad-hoc
      • Provide users with app via email/website
      • Requires users to register their device ID
        with the developer
      • 100 device limit per app                     72
Downloading Apps
App Store distribution method determined by size:
   – Apps < 10 MB can be downloaded over
     the cellular network
   – Apps > 10 MB require WiFi connectivity
     or side loading via iTunes




                                                    73
Classes of iPhone Applications
• We can define three types of iPhone
  applications:
  – Productivity
  – Utility
  – Immersive
What’s Different About
    Programming for the iPhone?
•   Only one running application
•   Only one window
•   Limited access - sandbox
•   Limited response time - 5 seconds
•   Limited screen size - 480 x 320 pixels
•   Limited system resources (RAM + storage)
•   No keyboard or mouse
                                      23
iPhone Developer University
             Program
a free program designed for higher education
institutions looking to introduce curriculum
for developing iPhone or iPod touch
applications. The University Program
provides a wealth of development resources,
sophisticated tools for testing and debugging,
and the ability to share applications within the
same development team. Institutions can also
submit applications for distribution in the App
Store.


  http://developer.apple.com/iphone/program/university.html
iPhone Developer University
            Program
Student Development Team
The iPhone Developer University
Program allows instructors and
professors to create a development
team with up to 200 students.
iPhone Developer University
          Program
The iPhone Developer University Program
includes:
  • iPhone SDK
  • iPhone Dev Center Resources
iPhone Developer University
        Program
• Testing on iPhone and iPod touch
iPhone Developer University
         Program
• Internal or App Store distribution
iPhone/SDK Recommendations
 – Optimize Web Site for Mobile Devices
 – Computer Science  iPhone University Developer
   Program
 – Create iPhone App for Marketing
 – Create iPhone App for Registration/Student
   Services
 – Integrate iPhone into Classroom Activities
 – Also Investigate Google’s Android App Store and
   RIM’s Blackberry App Store
Join us Summer 2009 in Phoenix




                 watch ate-con.org for details

Contenu connexe

Tendances

iPhone Developer_ankush
iPhone Developer_ankushiPhone Developer_ankush
iPhone Developer_ankush
ankush Ankush
 
Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)
JJ Wu
 

Tendances (20)

iPhone Developer_ankush
iPhone Developer_ankushiPhone Developer_ankush
iPhone Developer_ankush
 
iPhone application development in India
iPhone application development in IndiaiPhone application development in India
iPhone application development in India
 
Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)Introducing Apple New iPad(iPad 4th generation)
Introducing Apple New iPad(iPad 4th generation)
 
iPhone University Developer Program
iPhone University Developer ProgramiPhone University Developer Program
iPhone University Developer Program
 
iCloud
iCloudiCloud
iCloud
 
App development
App developmentApp development
App development
 
iPhone Development Quick Start
iPhone Development Quick StartiPhone Development Quick Start
iPhone Development Quick Start
 
iOS design: a case study
iOS design: a case studyiOS design: a case study
iOS design: a case study
 
7 User Experience Lessons from the iPhone (Introducing UX)
7 User Experience Lessons from the iPhone (Introducing UX)7 User Experience Lessons from the iPhone (Introducing UX)
7 User Experience Lessons from the iPhone (Introducing UX)
 
Building solutions on the Microsoft platform that target iPhone, iPad, and An...
Building solutions on the Microsoft platform that target iPhone, iPad, and An...Building solutions on the Microsoft platform that target iPhone, iPad, and An...
Building solutions on the Microsoft platform that target iPhone, iPad, and An...
 
Adobe Max Modern iPhone App Design with Rick Messer
Adobe Max Modern iPhone App Design with Rick MesserAdobe Max Modern iPhone App Design with Rick Messer
Adobe Max Modern iPhone App Design with Rick Messer
 
Iphone vs android
Iphone vs androidIphone vs android
Iphone vs android
 
iPhone transfer software
iPhone transfer softwareiPhone transfer software
iPhone transfer software
 
Cloud client darwin information cloud browser
Cloud client   darwin information cloud browserCloud client   darwin information cloud browser
Cloud client darwin information cloud browser
 
iPhone Seminar Part 1
iPhone Seminar Part  1iPhone Seminar Part  1
iPhone Seminar Part 1
 
iPhone Apps - What, how, why?
iPhone Apps - What, how, why?iPhone Apps - What, how, why?
iPhone Apps - What, how, why?
 
IOS vs Android presentation by Saikrishna
IOS vs Android presentation by SaikrishnaIOS vs Android presentation by Saikrishna
IOS vs Android presentation by Saikrishna
 
Smart phones
Smart phonesSmart phones
Smart phones
 
Introduction to Mobile Application Development
Introduction to Mobile Application DevelopmentIntroduction to Mobile Application Development
Introduction to Mobile Application Development
 
App Publishing for Museums - iPhone, iPad and beyond
App Publishing for Museums - iPhone, iPad and beyondApp Publishing for Museums - iPhone, iPad and beyond
App Publishing for Museums - iPhone, iPad and beyond
 

En vedette

How the iPhone will forever change the mobile space (Over the Air)
How the iPhone will forever change the mobile space (Over the Air)How the iPhone will forever change the mobile space (Over the Air)
How the iPhone will forever change the mobile space (Over the Air)
Brian Fling
 
The Evolution of Internet-Scale Event Notification Services
The Evolution of Internet-Scale Event Notification ServicesThe Evolution of Internet-Scale Event Notification Services
The Evolution of Internet-Scale Event Notification Services
Hiroshi Ono
 
Apple and The Music Industry
Apple and The Music IndustryApple and The Music Industry
Apple and The Music Industry
dandoubleday
 
Apple Slidesv Na2
Apple Slidesv Na2Apple Slidesv Na2
Apple Slidesv Na2
ajvanhoy
 
Evolution of music players
Evolution of music playersEvolution of music players
Evolution of music players
Kevin Shoemaker
 
Evolution of music players Extra Credit
Evolution of music players Extra CreditEvolution of music players Extra Credit
Evolution of music players Extra Credit
kels003
 
iPad SWOT analysis
iPad SWOT analysisiPad SWOT analysis
iPad SWOT analysis
amkr4u4ever
 
The Evolution Of The Music Industry The Effect Of Technology And Law On Stra...
The Evolution Of The Music Industry  The Effect Of Technology And Law On Stra...The Evolution Of The Music Industry  The Effect Of Technology And Law On Stra...
The Evolution Of The Music Industry The Effect Of Technology And Law On Stra...
Ben Kilmer
 
03inhaledexhaledair
03inhaledexhaledair03inhaledexhaledair
03inhaledexhaledair
griggans
 

En vedette (20)

iPhone Informative speech
iPhone Informative speechiPhone Informative speech
iPhone Informative speech
 
The Apple story
The Apple storyThe Apple story
The Apple story
 
Dispositivos de Apple
Dispositivos de AppleDispositivos de Apple
Dispositivos de Apple
 
How the iPhone will forever change the mobile space (Over the Air)
How the iPhone will forever change the mobile space (Over the Air)How the iPhone will forever change the mobile space (Over the Air)
How the iPhone will forever change the mobile space (Over the Air)
 
The Evolution of Internet-Scale Event Notification Services
The Evolution of Internet-Scale Event Notification ServicesThe Evolution of Internet-Scale Event Notification Services
The Evolution of Internet-Scale Event Notification Services
 
Apple and The Music Industry
Apple and The Music IndustryApple and The Music Industry
Apple and The Music Industry
 
Apple Slidesv Na2
Apple Slidesv Na2Apple Slidesv Na2
Apple Slidesv Na2
 
Evolution of music players
Evolution of music playersEvolution of music players
Evolution of music players
 
Evolution of music players Extra Credit
Evolution of music players Extra CreditEvolution of music players Extra Credit
Evolution of music players Extra Credit
 
Apple Disrupts the Mobile Telecommunications Industry
Apple Disrupts the Mobile Telecommunications IndustryApple Disrupts the Mobile Telecommunications Industry
Apple Disrupts the Mobile Telecommunications Industry
 
Evolution of the iPhone
Evolution of the iPhoneEvolution of the iPhone
Evolution of the iPhone
 
Tablet industry
Tablet industryTablet industry
Tablet industry
 
iPad SWOT analysis
iPad SWOT analysisiPad SWOT analysis
iPad SWOT analysis
 
History of the Telephone
History of the TelephoneHistory of the Telephone
History of the Telephone
 
The iPhone Evolution
The iPhone EvolutionThe iPhone Evolution
The iPhone Evolution
 
The Evolution Of The Music Industry The Effect Of Technology And Law On Stra...
The Evolution Of The Music Industry  The Effect Of Technology And Law On Stra...The Evolution Of The Music Industry  The Effect Of Technology And Law On Stra...
The Evolution Of The Music Industry The Effect Of Technology And Law On Stra...
 
Creating Digital Content Alloys
Creating Digital Content AlloysCreating Digital Content Alloys
Creating Digital Content Alloys
 
Come cambia la professione del bibliotecario
Come cambia la professione del bibliotecarioCome cambia la professione del bibliotecario
Come cambia la professione del bibliotecario
 
Digital Learning Communities-2006
Digital Learning Communities-2006Digital Learning Communities-2006
Digital Learning Communities-2006
 
03inhaledexhaledair
03inhaledexhaledair03inhaledexhaledair
03inhaledexhaledair
 

Similaire à Programing for the iPhone

iPhone Sdk Winter Conference
iPhone Sdk Winter ConferenceiPhone Sdk Winter Conference
iPhone Sdk Winter Conference
Mike Qaissaunee
 
Group1 Ss08 Smartphones
Group1 Ss08 SmartphonesGroup1 Ss08 Smartphones
Group1 Ss08 Smartphones
Kalun Leung
 
Philly ete-2011
Philly ete-2011Philly ete-2011
Philly ete-2011
davyjones
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment ppt
sagaroceanic11
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment ppt
sagaroceanic11
 
Fixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World RomaniaFixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World Romania
Christian Heilmann
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
Pragya Rastogi
 

Similaire à Programing for the iPhone (20)

Absolute Beginners Guide to iPhone dev
Absolute Beginners Guide to iPhone devAbsolute Beginners Guide to iPhone dev
Absolute Beginners Guide to iPhone dev
 
iPhone Sdk Winter Conference
iPhone Sdk Winter ConferenceiPhone Sdk Winter Conference
iPhone Sdk Winter Conference
 
iPhone Programming
iPhone ProgrammingiPhone Programming
iPhone Programming
 
Group1 Ss08 Smartphones
Group1 Ss08 SmartphonesGroup1 Ss08 Smartphones
Group1 Ss08 Smartphones
 
Philly ete-2011
Philly ete-2011Philly ete-2011
Philly ete-2011
 
Health Care Clipboard iPad Application
Health Care Clipboard iPad ApplicationHealth Care Clipboard iPad Application
Health Care Clipboard iPad Application
 
Qa extreme 2011 eran kinsbruner
Qa extreme 2011 eran kinsbrunerQa extreme 2011 eran kinsbruner
Qa extreme 2011 eran kinsbruner
 
SmartPhone Design and Delivery
SmartPhone Design and DeliverySmartPhone Design and Delivery
SmartPhone Design and Delivery
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment ppt
 
I phone app develoment ppt
I phone app develoment   pptI phone app develoment   ppt
I phone app develoment ppt
 
Andrew Resume
Andrew ResumeAndrew Resume
Andrew Resume
 
Fixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World RomaniaFixing the mobile web - Internet World Romania
Fixing the mobile web - Internet World Romania
 
iOS platform
iOS platformiOS platform
iOS platform
 
Introduction to PhoneGap
Introduction to PhoneGapIntroduction to PhoneGap
Introduction to PhoneGap
 
Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?Native, Web or Hybrid Mobile App Development?
Native, Web or Hybrid Mobile App Development?
 
Titanium Mobile Intro
Titanium Mobile IntroTitanium Mobile Intro
Titanium Mobile Intro
 
Introduction phonegap
Introduction phonegapIntroduction phonegap
Introduction phonegap
 
Advanced programing in phonegap
Advanced programing in phonegapAdvanced programing in phonegap
Advanced programing in phonegap
 
Mobile and tablet app dev
Mobile and tablet app devMobile and tablet app dev
Mobile and tablet app dev
 
Mobile testingartifacts
Mobile testingartifactsMobile testingartifacts
Mobile testingartifacts
 

Plus de Mike Qaissaunee

Plus de Mike Qaissaunee (20)

Horizon 2011 adoption
Horizon 2011   adoptionHorizon 2011   adoption
Horizon 2011 adoption
 
Ch03
Ch03Ch03
Ch03
 
Ch02
Ch02Ch02
Ch02
 
Ch01
Ch01Ch01
Ch01
 
Ch05
Ch05Ch05
Ch05
 
Chapter 3
Chapter 3Chapter 3
Chapter 3
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Chapter 4ver2
Chapter 4ver2Chapter 4ver2
Chapter 4ver2
 
Pace presentation
Pace presentationPace presentation
Pace presentation
 
Advisory Committee Meeting
Advisory Committee MeetingAdvisory Committee Meeting
Advisory Committee Meeting
 
Creating Great Slides - After
Creating Great Slides - AfterCreating Great Slides - After
Creating Great Slides - After
 
Creating Great Slides - Before
Creating Great Slides - BeforeCreating Great Slides - Before
Creating Great Slides - Before
 
ESMP Update
ESMP UpdateESMP Update
ESMP Update
 
Online Impact Oct 12 2009
Online Impact Oct 12 2009Online Impact Oct 12 2009
Online Impact Oct 12 2009
 
Online Impact Oct 12 2009
Online Impact Oct 12 2009Online Impact Oct 12 2009
Online Impact Oct 12 2009
 
Online Impact Oct 12 2009
Online Impact Oct 12 2009Online Impact Oct 12 2009
Online Impact Oct 12 2009
 
Online Impact Oct 12 2009
Online Impact Oct 12 2009Online Impact Oct 12 2009
Online Impact Oct 12 2009
 
Online Impact Oct 12 2009
Online Impact Oct 12 2009Online Impact Oct 12 2009
Online Impact Oct 12 2009
 
Online Impact Oct 12 2009
Online Impact Oct 12 2009Online Impact Oct 12 2009
Online Impact Oct 12 2009
 

Dernier

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Dernier (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Programing for the iPhone

  • 1. The iPhone and the SDK Mike Qaissaunee mqaissaunee@brookdalecc.edu http://q-ontech.blogspot.com www.twitter.com/mqaissaunee www.slideshare.net/mqaissaunee
  • 2.
  • 3.
  • 4. What is the iPhone?
  • 5. What is the iPhone? • Apple’s Smartphone
  • 6. What is the iPhone? • Apple’s Smartphone • More than a Phone?
  • 7. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer
  • 8. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation
  • 9. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface
  • 10. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors
  • 11. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard
  • 12. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard • Safari
  • 13. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard • Safari • Mail
  • 14. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard • Safari • Mail • Calendar
  • 15. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard • Safari • Mail • Calendar • Wide Screen Display
  • 16. iPhone Overview • Smart Phone + – iPod (Widescreen) – Wireless Internet Communication Device – Wifi 802.11 b/g – PDA – Computer (OS X) – Camera – App Store
  • 17. iPhone Development • Development done with the help of iPhone SDK (requires an Intel MAC) – Uses Objective-C – XCODE + Other tools – Can submit your application to App Store – $99 membership – Review your application + code – Revenue model – You set your price (free, 99 cents, $9.99, etc) – 70% developer (you) and 30% Apple
  • 18. iPhone Economics • 30 Million Touch devices • Assume $1.99 application • Popular app - 10% of devices (3 Million) – $6 Million = $4.2 Million to Developer! • Less popular - 1% of devices (300,000) – $600,000 = $420,000 to Developer!
  • 19.
  • 21. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler
  • 22. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler
  • 23. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler
  • 24. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler 2.Interface Builder • For creating user interface
  • 25. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler 2.Interface Builder • For creating user interface 3.Instruments • For optimizing application
  • 27. iPhone SDK 4. Dash Code • For creating web applications for Safari
  • 28. iPhone SDK 4. Dash Code • For creating web applications for Safari 5. iPhone Simulator
  • 29. iPhone OS can be viewed as set of layers
  • 30. Cocoa Touch Layer the basic tools to – Application management implement – Graphics and windowing support graphical, event- driven applications – Event-handling support – User interface management – Objects representing the standard system views and controls – Support for text and web content – Accelerometer data – The built-in camera – The photo library – Device-specific information
  • 31. Media Layer provides graphics and media technologies for creating advanced multimedia experiences – Graphics Technologies – Core Audio – OpenAL – Video Technologies
  • 32. Core Services Provides fundamental or core system services that all applications use – Address Book – Core Location – CFNetwork – Security – SQLite
  • 33. Core OS • encompasses the kernel environment, drivers, and basic – Threading (POSIX interfaces of the operating system threads) • Provides access to low-level – Networking (BSD features of the operating system sockets) – File-system access – Standard I/O – Bonjour and DNS services – Location information – Memory allocation
  • 34. iPhone Hardware and Software Features Available to Applications • Accelerometer – iPhone and iPod touch have 3 accelerometers to measure/detect movement along each of the primary (x, y, and z) axes in three-dimensional space – The system uses the accelerometers to monitor a device’s current orientation and to notify applications when that orientation changes – Applications can access accelerometer data directly
  • 35. iPhone Hardware and Software Features Available to Applications • Core Location – Core Location monitors signals from cell towers and Wi-Fi hotspots to triangulate the user’s current position – Accuracy of location information and threshold for reporting location changes can be specified – Use sparingly – drains battery
  • 36. iPhone Hardware and Software Features Available to Applications • Contacts – The Phone, Mail, and SMS Text applications use contact list to identify contacts and to facilitate basic interactions such as starting a phone call, email, or text message – Your applications can access contacts for similar purposes or to get other information relevant to your application
  • 37. iPhone Hardware and Software Features Available to Applications • The Camera and Photo Library – iPhone has a camera and photo library -- iPod Touch has no camera – iPhone OS provides access to both of these features – You can incorporate system-provided picker interfaces into your application – These interfaces provide standard system views for selecting a photo from the user’s photo library or taking a picture using the camera
  • 38. App Distribution Three methods of distribution: – App Store • Wi-Fi/EDGE/HSDPA on iPhone • Desktop syncing via iTunes – Enterprise • Proprietary in-house apps • Requires 500+ employees – Ad-hoc • Provide users with app via email/website • Requires users to register their device ID with the developer • 100 device limit per app 72
  • 39. Downloading Apps App Store distribution method determined by size: – Apps < 10 MB can be downloaded over the cellular network – Apps > 10 MB require WiFi connectivity or side loading via iTunes 73
  • 40. Classes of iPhone Applications • We can define three types of iPhone applications: – Productivity – Utility – Immersive
  • 41. What’s Different About Programming for the iPhone? • Only one running application • Only one window • Limited access - sandbox • Limited response time - 5 seconds • Limited screen size - 480 x 320 pixels • Limited system resources (RAM + storage) • No keyboard or mouse 23
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71.
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82.
  • 83.
  • 84. iPhone Developer University Program a free program designed for higher education institutions looking to introduce curriculum for developing iPhone or iPod touch applications. The University Program provides a wealth of development resources, sophisticated tools for testing and debugging, and the ability to share applications within the same development team. Institutions can also submit applications for distribution in the App Store. http://developer.apple.com/iphone/program/university.html
  • 85. iPhone Developer University Program Student Development Team The iPhone Developer University Program allows instructors and professors to create a development team with up to 200 students.
  • 86. iPhone Developer University Program The iPhone Developer University Program includes: • iPhone SDK • iPhone Dev Center Resources
  • 87. iPhone Developer University Program • Testing on iPhone and iPod touch
  • 88. iPhone Developer University Program • Internal or App Store distribution
  • 89.
  • 90.
  • 91.
  • 92.
  • 93.
  • 94. iPhone/SDK Recommendations – Optimize Web Site for Mobile Devices – Computer Science  iPhone University Developer Program – Create iPhone App for Marketing – Create iPhone App for Registration/Student Services – Integrate iPhone into Classroom Activities – Also Investigate Google’s Android App Store and RIM’s Blackberry App Store
  • 95. Join us Summer 2009 in Phoenix watch ate-con.org for details

Notes de l'éditeur