To provide an introduction to mobile development, this chapter
includes a set of examples that guide you through the process of building
an application for iPhone. The application will use the Google Maps
Web API to map hot accounts by customer priority. To follow along
with these examples, be sure you meet the following requirements:
-
Developer Edition Organization: Sign up for a Developer
Edition organization at Developer Force if you do not already
have one.
-
Test Data: In your Developer Edition organization, be sure
that your user account includes a valid address. Edit the billing
addresses of the following two accounts so that the companies are
in proximity to your address:
- Edge Communications
- United Oil & Gas Corp.
Keeping the addresses near one another will make it easier to
see all of the accounts on the map while you're testing your examples.
-
UI Library: Download iUI, a third-party library that lets Web applications easily mimic the
standard iPhone UI.
-
Google Maps API: Sign up for the Google Maps API to obtain
a Maps API key.
-
iPhone Simulator: Download the iPhone simulator so you
can test your Visualforce pages in the mobile application.
-
Mobile Configuration: After completing the examples, remember
to create
a mobile configuration that mobilizes your Visualforce tab and the account object.
The Visualforce Mobile examples for this chapter include: