Chapter 12. Adding In-App Billing

In this chapter, we will cover the following recipes:

  • Preparing for in-app billing
  • Integrating in-app billing
  • Listing available products
  • Purchasing products
  • Listing purchased products
  • Consuming purchases

Introduction

Everybody likes to go shopping—getting something new and shiny to play with is a great feeling. Unfortunately, shopping requires money, and nobody likes to give that up. However, in the end, people will go to work, earn money, and then go shopping anyway—whether it be to provide food to survive or things for entertainment, everybody goes shopping.

App developers can capitalize on this fact not only to provide users with cool features and apps for their devices but also to make money. One approach to making ...

Get Xamarin Mobile Development for Android Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.