Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement in-app purchase of application Android?

I have created a android application. Subscription is free. However I have put ads inside application. Now I want provide option within app where people can buy ad-free version. And also provide option to restore purchase.

I went through Android docs didn't understand anything. Please provide a good tutorial.

like image 591
virendrao Avatar asked Oct 28 '14 05:10

virendrao


People also ask

How do you implement In app purchases?

The process to implement in-app purchases in iOS is almost the same as in Android. Developers will have to design an in-app purchase store and integrate it with an app using the Store Kit framework provided by Apple. The Store Kit acts as an interface to communicate with the App store for processing secure payments.

How does in app purchasing work?

In-app purchases allow developers to provide their applications for free. The developer then advertises upgrades to the paid version, paid feature unlocks, special items for sale, or even ads other apps and services to anyone who downloads the free version.

What is in app Purchase API?

The In-App Purchasing (IAP) API allows your app to present, process, and fulfill purchases of digital content and subscriptions within your app. Amazon supports an IAP API for Android Apps and Web Apps. This page gives a high-level introduction to the IAP API.


1 Answers

Hey I had worked on InApp Purchase recently and I've successfully integrated in my existing app and ready to make it live. Initially when i had started doing this I've downloaded google InApp Billing Example called "Trivial Drive" from here.

But it didn't help me much as it has lots of issues and bugs, So I've decided do it on my own from scratch using new v3 api which you can find here. This tutorial has clear explanation that would help you and also if you have time, see this youtube video where google employee had explained clearly how to integrate it.

Also if you want quick example, I've a sample app which you can download from here.

The following video also explains how to integrate InApp Purchase. Please go through it.

https://www.youtube.com/watch?v=-h2ESH71hAI

Thank you

like image 134
Ramesh Avatar answered Oct 19 '22 06:10

Ramesh