~/talk

Digitize wallet objects with Google Wallet API - step-by-step tutorial

Talkat Google I/O 2022 · 2022-05-11..05-12· [android, web-platform]
name:Jose Ugia
links:none on file
slides:none on file

Step-by-step Android guide that shows how to create a Generic Pass API object (unsigned JWT) and save it to Google Wallet using the Play services dependency and the PayClient SDK (com.google.android.gms:play-services-pay v16.0.3). It uses the sample app and lab account from g.co/wallet/lab-tools, adds a branded Google Wallet button, sends savePasses with request code 999, and returns RESULT_OK—saved pass with logo, barcode and hero image appears in Wallet.

AI-written summary · about

  1. 0:00Introduction to Google Wallet
  2. 1:06Setting Up Your API Access
  3. 2:26Understanding Passes and Classes
  4. 3:59Designing the Pass Structure
  5. 5:53Integrating the Android SDK
  6. 7:34Creating the User Interface
  7. 10:19Adding the Button to Your App
  8. 12:20Initializing the Wallet Client
  9. 13:45Checking API Availability
  10. 17:25Defining the Pass Object
  11. 20:53Saving the Pass
  12. 23:24Handling Operation Results
  13. 27:26Testing and Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.