Android inApp Confusion - android

I am about to implement inApp Purchases in my app, but Iam totally confused about which way to go. On Android developer site there are different aproaches, but it is not clear why there are 2?:
http://developer.android.com/training/in-app-billing/index.html
and
https://developer.android.com/google/play/billing/api.html

I feel for you. I found the the tuts on this guy's blog very useful for cutting through the confusion. If you follow his process, you can, I attest, successfully implement in-app billing. I've linked to the older tutorial, I followed, but he's got a newer one as well (see the link on that page), which includes Github-hosted source code and updates to support the latest Android library changes.

Here you can find TrivialDrive example app utilizing In-app Billing V3. It's sample app directly from Google.
The most important class is IABHelper, source code here.
The link posted by JASON G PETERSON is pointing to a deprecated version of In-app Billing V2. Here's link to the version 3: http://blog.blundell-apps.com/simple-inapp-billing-payment-v3/

Related

It is possible to use the new In-App Review?

As you may know Google Play in-app review dialog is an upcoming feature
Here is a working proof of concept app : IAR Test App
I wanted to use this unofficial feature, I did a search and I found this:
Exploring in-app reviews: part 1
But there is no decompiled source code, Can someone share with us a working code?
Google Play's In-App Reviews is now available here.

Which android in-app billing is right?

I am implementing in-app billing in an android game. I found that the developer web pages have two completely different guides on different pages. This one seems to work:
Preparing Your In-app Billing Application
This one I have not been able to make work:
Implementing In-app Billing
I don't know why they show two different ways to do the same thing and I want to make sure I'm using the right one and if there's a difference between the two.
The first guide you mention Preparing Your In-app Billing Application provides you with helper classes to do all the hard work for you. You are best to follow this guide.
To understand what is happening in the helper class provided you can read the Implementing In app billing link.

Android fetch price of purchase using AndroidBillingLibrary

I am using AndroidBillingLibrary for purchasing. But I don't know how to get the price of purchase (in-app item) in code. If it possible using the library, because this library based on In-app Billing API version 2? I saw that it is possible in API version 3 link
This is impossible. But I implemented in-app Billing version 3. This is not so hard, there is a great and very simple documentation link. Also Google provide a sample which anyone can download and use how to install sample
if you use API3 of the in-app billing library, this feature is already there.
it seems it's called "getSkuDetails" .
for more information, watch the google IO 2013 lecture "In-App Billing Version 3" : https://developers.google.com/events/io/sessions/324958374 , slides 104-107 .
you can also read the documentation...
sadly, even though they've added many nice features and made it easier, they've removed the feature of unmanaged purchases, but that's a different story.

in-app billing for android application

I want to use Google play store API for my android game application and I am very confused from where I can get this API and implement them.Can anyone please tell me in detail,it will be great help to me as I am new to android gaming.So please help.
Google Play Billing Library is a part of the SDK, you only need to download it via the SDK manager.
Also a nice training class is available at Goole Developers:
https://developer.android.com/training/in-app-billing/index.html
This official docs are easy enough to follow:
http://developer.android.com/google/play/billing/billing_integrate.html

Simple In App Purchase App Android

Does anyone know how to make a simple app in android dev eclipse with a simple in app purchase item like 50 coins for 0.50p in android because there are absolutely no tutorials out there and the android in app billing example isn't exactly helpful.
The current version of Android In App Purchase is V3
http://blog.blundellapps.com/simple-inapp-billing-payment-v3/
My blog post is titled Simple In App Purchase v2, so that might help:
http://blog.blundellapps.com/simple-inapp-billing-payment/
I've also recently written an overview with a flowchart to try and explain InApp Purchase (not so simple):
http://blog.blundellapps.com/overview-of-android-in-app-billing-flowchart/ (v2)
Does this library (AndroidBillingLibrary) solve your problem?
Attention!
Here is answer for IAB v2
And you, most likely, looking for v3 (which is much simpler)
Don't get in this trap, as I did...
Google I/O 2013 - In-App Billing Version 3 - http://www.youtube.com/watch?v=DgcJPIRpfSk
You can check example with library for inn app billing.
Example

Categories

Resources