Trivial Drive IAB Demo Game

In-app purchases
10K+
Downloads
Content rating
Everyone
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this game

This is just a car driving game that does next to nothing!! Exciting!! Not.

This app is an example for Android Java developers of how to use the Google Play In-app Billing services to implement in-app product purchases.
The app demonstrates how to send In-app Billing requests, and deal with responses from Google Play Store.
The app shows how to record items getting consumed with the API.
The app includes re-usable classes for processing In-app Billing operations as well as performing signature validation.
The app initiates In-app Billing request through its own UI (screen 1).
Google Play then responds to the request and provides a checkout UI (screen 2.
When checkout is finalized, the app continues.
The app uses these In-app billing facilities that are provided by Google:
* Base64
* Base64DecoderException
* IabException
* IabHelper
* IabResult
* Inventory
* Purchase
* Security
* SkuDetails


What does the game do?:
Not much.
You have a car.
You can upgrade it, for a small fee.
You speed along.
You run out of gas so you buy more.

The car is a super fast package for stunning race performance in less-than-extreme road racing!
The car in the game is not turbo.
The car in the game is not fitted with Nitro.
It does not have a cool speedo.
The is no screaming tacho.
It has a regular paint job.

This game just shows a couple of pictures of the car.
For entertainment purposes only.

This game is a simple "driving" game where the player can buy gas and drive.
The car has a tank which stores gas.
When the player purchases gas, the tank fills up (1/4 tank at a time).
When the player drives, the gas in the tank diminishes (also 1/4 tank at a time).
The user can also purchase a "premium upgrade" that gives them a fancier car instead of the standard one (exciting!).
The user can also purchase a subscription ("infinite gas") that allows them to drive without using up any gas while that subscription is active.
The subscription can either be purchased monthly or yearly.

This game is just a tiny demo app that does next to nothing.

The app is designed for Android Java developers to show them how to use the Google Play In-app Billing services to implement in-app product purchases.

The software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
either express or implied.
Updated on
Feb 12, 2020

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection

What's new

Two small changes:
* Main screen layout is slightly more spacious;
* Code updated internally to use AndroidX.