WHAT YOU WILL LEARN IN THIS CHAPTER
How to send emails from within your application
How to invoke Safari from within your application
How to invoke the Phone from within your application
How to send SMS messages from within your application
How to access the camera and Photo Library
How to access the Contacts application
How to add and remove contact information from the Contacts application
The iPhone comes with a number of built-in applications that make it one of the most popular mobile devices of all time. Some of these applications are Contacts, Mail, Phone, Safari, SMS, and Calendar. These applications perform most of the tasks you would expect of a mobile phone. As an iPhone developer, you can also programmatically invoke these applications from within your application using the various APIs provided by the iPhone SDK.
In this chapter, you learn how to invoke some of the built-in applications that come bundled with iPhone as well as how to interact with them from within your iPhone application.
Sending emails is one of the many tasks performed by iPhone users. Sending emails on the iPhone is accomplished using the built-in Mail application, which is a rich HTML mail client that supports POP3, IMAP, Exchange email systems, and most web-based emails such as Yahoo! and Gmail.
There are times where you need to send an email in your iPhone application. A good example is embedding a feedback button in your application that users can ...