In order to demonstrate the integration with iPhone services, you??™ll be working with a sample
application called iProspector, which is a mocked up contact management system that emulates
the iPhone Contact UI (see Figure 7-1 ). To create the UI, you will be starting with Joe Hewitt??™s iUI
framework, which is discussed fully in Chapter 3 . However, because it does not provide support
for the specific controls needed for the Contact UI, this chapter will show you how to extend iUI
as service integration is discussed.
Because iPod touch does not provide support for Phone and Mail services, any iPhone-specific
integration should degrade gracefully when running on iPod touch.
Chapter 7: Integrating with iPhone Services
154
Preparing the iProspector Application Shell
Before integrating services and adding custom UI controls for them, you first need to prepare the
iProspector application shell. The following XHTML document contains a standard iUI setup for a
hierarchical list-based, side-scrolling interface:
???http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd???>
iProspector
Pages:
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186