Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Programing for the iPhone

78,087 views

Published on

A presentation on iPhone programming given to the Brookdale Computer Science club - 3/31/2009

  • If you are looking for trusted essay writing service I highly recommend ⇒⇒⇒WRITE-MY-PAPER.net ⇐⇐⇐ The service I received was great. I got an A on my final paper which really helped my grade. Knowing that I can count on them in the future has really helped relieve the stress, anxiety and workload. I recommend everyone to give them a try. You'll be glad you did.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • You can hardly find a student who enjoys writing a college papers. Among all the other tasks they get assigned in college, writing essays is one of the most difficult assignments. Fortunately for students, there are many offers nowadays which help to make this process easier. The best service which can help you is ⇒ www.HelpWriting.net ⇐
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • If you’re looking for a great essay service then you should check out ⇒ www.WritePaper.info ⇐. A friend of mine asked them to write a whole dissertation for him and he said it turned out great! Afterwards I also ordered an essay from them and I was very happy with the work I got too.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • You might get some help from ⇒ www.WritePaper.info ⇐ Success and best regards!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THE BOOK INTO AVAILABLE FORMAT (New Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download Full doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download PDF EBOOK here { https://urlzs.com/UABbn } ......................................................................................................................... Download EPUB Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... Download doc Ebook here { https://urlzs.com/UABbn } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THE can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer THE is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBOOK .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, CookBOOK, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, EBOOK, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story THE Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money THE the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths THE Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Programing for the iPhone

  1. 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. 2. What is the iPhone?
  3. 3. What is the iPhone? • Apple’s Smartphone
  4. 4. What is the iPhone? • Apple’s Smartphone • More than a Phone?
  5. 5. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer
  6. 6. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation
  7. 7. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface
  8. 8. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors
  9. 9. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard
  10. 10. What is the iPhone? • Apple’s Smartphone • More than a Phone? • Built in Accelerometer • GPS or Position Triangulation • Multi Touch Interface • Sensors • Keyboard • Safari
  11. 11. 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
  12. 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 • Mail • Calendar
  13. 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 • Calendar • Wide Screen Display
  14. 14. iPhone Overview • Smart Phone + – iPod (Widescreen) – Wireless Internet Communication Device – Wifi 802.11 b/g – PDA – Computer (OS X) – Camera – App Store
  15. 15. 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
  16. 16. 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!
  17. 17. iPhone SDK
  18. 18. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler
  19. 19. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler
  20. 20. iPhone SDK iPhone SDK includes five powerful iPhone programming tools 1.XCODE • Professional text editor • Debugger • GCC compiler
  21. 21. 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
  22. 22. 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
  23. 23. iPhone SDK
  24. 24. iPhone SDK 4. Dash Code • For creating web applications for Safari
  25. 25. iPhone SDK 4. Dash Code • For creating web applications for Safari 5. iPhone Simulator
  26. 26. iPhone OS can be viewed as set of layers
  27. 27. 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
  28. 28. Media Layer provides graphics and media technologies for creating advanced multimedia experiences – Graphics Technologies – Core Audio – OpenAL – Video Technologies
  29. 29. Core Services Provides fundamental or core system services that all applications use – Address Book – Core Location – CFNetwork – Security – SQLite
  30. 30. 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
  31. 31. 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
  32. 32. 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
  33. 33. 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
  34. 34. 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
  35. 35. 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
  36. 36. 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
  37. 37. Classes of iPhone Applications • We can define three types of iPhone applications: – Productivity – Utility – Immersive
  38. 38. 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
  39. 39. 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
  40. 40. 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.
  41. 41. iPhone Developer University Program The iPhone Developer University Program includes: • iPhone SDK • iPhone Dev Center Resources
  42. 42. iPhone Developer University Program • Testing on iPhone and iPod touch
  43. 43. iPhone Developer University Program • Internal or App Store distribution
  44. 44. 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
  45. 45. Join us Summer 2009 in Phoenix watch ate-con.org for details

×