google-wallet / android-codelab

Sample code used for the Google Wallet Android Codelab
https://codelabs.developers.google.com/add-to-wallet-android
Apache License 2.0
24 stars 16 forks source link

Google Wallet Android Codelab

Overview

This repository contains the resources used in the Create passes on Android using the Google Wallet API codelab. This codelab demonstrates how to perform the following tasks:

  1. Create a new issuer account in development mode
  2. Create a service account for issuing passes
  3. Create a new Generic pass class
  4. Create a new pass object
  5. Create an "Add to Google Wallet" button to save a pass
  6. Display the button in your Android app
  7. Handle the pass save result

Prerequisites

Code Files

Directory Description
android/ The sample app that you will customize
android_complete/ The same sample app with all steps completed
backend/classes/ Sample code files for creating passes

Support

For any questions or issues, please submit an issue on this repository.