13. In-App Billing

Creating applications that have the ability to up-sell, allow the purchase of items, or add functionality can fill an important role in the application’s marketing strategy. Most users are familiar with “pay-to-win” strategies as well as “gifting” systems. Pay-to-win systems often allow users to download the application for free but penalize them with lesser power-ups or limited playing time unless they purchase upgrades. Gifting systems work on a similar principle, allowing users to purchase items for others instead of powering up themselves.

Until recently, Google did not have an official support system in place for these models for the Android Platform, and developers had to create their own system or integrate with third ...

Get The Android™ Developer’s Cookbook: Building Applications with the Android SDK, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.