Sample applications for Google Play Billing. To build each sample, see the README instructions in the project directory.
- Trivial Drive Java - Purchase items/subscriptions in your Android app (serverless).
- Trivial Drive Kotlin - Purchase items/subscriptions in your Android app (serverless).
- Classy Taxi Kotlin App - Purchase subscriptions in your Android app and manage subscriptions on your server.
- Classy Taxi Java App - Purchase subscriptions in your Android app and manage subscriptions on your server.
- Classy Taxi Server - Manage subscriptions on your server.
For more information about Google Play Billing, see the documentation.
- Google Play Billing
- Google Play Billing Library
- Google Play Developer API
- Real-time Developer Notifications
- 2021-05-18
- Updated all samples for Google Play Billing Library v4.
- 2021-04-28
- Publish
TrivialDriveJava
: Billing Library Java sample for purchases. - Rewrite
TrivialDriveKotlin
: Billing Library Java/Kotlin hybrid sample for purchases, now supports billing ktx/coroutines.
- Publish
- 2020-02-28
- Publish
ClassyTaxiJava
: Billing Library Java sample - currently only supports subscriptions.
- Publish
- 2019-12-30
- 2019-10-10
- Remove apps that do not support Google Play Billing Library 2.0 or newer. The AIDL and older versions of the Google Play Billing Library are deprecated. The old samples are available on GitHub at the following links:
- 2019-01-16
- Publish
TrivialDriveKotlin
: Kotlin sample
- Publish
- 2018-05-03
- Publish
ClassyTaxi
: Subscriptions sample
- Publish
- 2017-07-12
- Publish
TrivialDrive_v2
: Billing Library 1.0 sample
- Publish
- 2015-09-18
- Initial repo port to GitHub
TrivialDrive
: AIDL sample