1 Mobile Profile 128 More SMIL: Applying Transitions 129 Sending Multimedia Messages through Our Gateway 131 Time for Action: Sending MMS Messages via Clickatell 131 How is an MMS Message Sent? 132 MMS Gateways do Good Work 133 Receiving Photos from Customers via MMS 134 Time for Action: Decoding an MMS Message 134 What Just Happened: Decoding the MMS Message 136 MMS's Potential is Yet to Be Exploited! 136 Summary 137 Table of Contents [ v ] Chapter 8: Making Money via Mobile Devices 139 Getting Money through PayPal 139 Time for Action: Setting Up the PayPal Account for Mobile Payments 140 Why This Configuration? 140 Mobile Checkout is a Three-Step Flow 141 Time for Action: Integrating PayPal Mobile Checkout with POTR 141 How Does This Work? 145 Evaluating Mobile Payment Methods 146 Premium SMS 146 WAP-Based Credit Card Payment 147 Direct Billing 148 Proximity Payment 148 Security Concerns in Mobile Payments 149 Using SMS in Mobile Payment 150 Receiving Text Messages 151 Getting a Short Code 151 Receiving Messages via Clickatell 152 Sending Messages That Can Be Replied To 153 Making it Easier??”Payment Gateways Help get More Money! 154 Summary 155 Chapter 9: Interactive Voice 157 First, Some Basics 158 Busting Some Jargon 158 IVR Infrastructure: Hosted or Owned? 159 Time for Action: Setting Up an Interactive Voice Response Platform 159 Designing the Call Flow of Our Application 161 Creating an Application to Play Audio 162 Time for Action: Creating an Application and Welcoming Callers 162 Making Choices by Key Presses 164 Time for Action: Prompting the User for Next Action 164 Transferring Calls in Voice XML 167 Handling Errors 167 Adding Global Navigation with the Tag 169 Recognizing Voice 169 Storing Variables at the Application Level 170 Detecting the Caller's Phone Number 171 Time for Action: Let's Put It All Together 171 Writing Complex Grammar Rules 174 Time for Action: Writing Complex Grammars 174 Selecting the Topping and Quantity 177 Confirming and Submitting an Order 177 Time for Action: Confirming and Submitting an Order 177 How Did It Turn It All Around? 179 Summary 180 Table of Contents [ vi ] Chapter 10: Mobile AJAX 181 Getting Pizza Recipes via AJAX 182 Devising our AJAX Strategy 182 Time for Action: Showing Recipes 184 What's Going on in the Background? 191 What if Your Device Does Not Support AJAX? 192 Adding Navigation 193 Time for Action: Adding Navigation for Recipes 193 Adding Comments 194 Time for Action: Submitting Comments 195 What's the Deal with All that Form Code? 197 I Want More AJAX on My Mobile! 198 Understanding iPhone Application Development 198 More Ways to Build Rich Mobile Apps 200 Summary 201 Chapter 11: Mobile Web 3.