AndroidInAppProduct | A product registered in the store. |
AndroidInAppTransaction | Contains information about a transaction in the external app store. |
AndroidInAppPurchaseBackend | Comminucates with external store. |
androidjni.cpp and InAppPurchase.java |
Communication between Google Play's billing system and C++. |
Check out Base Classes
AndroidInAppProduct adds purchase() for initializing purchasing process.
AndroidInAppTransaction is created in the AndroidInAppPurchaseBackend using purchaseSucceeded(), purchaseFailed() and checkFinalizationStatus().
AndroidInAppTransaction adds new parameters and return types. Class has finalize() function that separates Consumable and Unlockable products to be either acknowledged or consumed in the InAppPurchase.java.
AndroidInAppPurchaseBackend makes and receives calls from InAppPurchase.java. This class is one of the back end components in the application.
Shows the products information on the store page.
When pressing one of the products on the applications store page a call is routed through AndroidInAppProduct::purchase()
to purchaseProduct() function. This then calls the Java method launchBillingFlow() which
opens Goole Plays billing flow to the user.
AndroidInAppPurchaseBackend makes calls directly to InAppPurchase.java
and receives Java calls from androidjni. The demo application communicates with Java function using QJniObject.
See also Integrate the Google Play Billing Library, QJniObject, and QJniEnvironment.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: