Eljas
Eljas

Reputation: 1207

Android - In-App Billing

I can't find any good tutorial/sites which tell how to make in-app billing to remove admob ads from application.

So here is my problem: I have app what include Admob's ads. And I want to build in-app billing system which allow user to pay $1 and after payment there should not be any ads.

How I can make this? Any ideas?

Upvotes: 0

Views: 560

Answers (1)

Jack
Jack

Reputation: 9242

Add a conditional check around your ad mob display code that essentially says:

if (!payed)
{
    displaySomeAds();

}

I'm sure it will be a little more complex than that, as you may have to check the Google licensing server, but you get the point.

Upvotes: 2

Related Questions