Skip to main content
Participant
October 26, 2011
Question

Android In-App Billing

  • October 26, 2011
  • 1 reply
  • 1572 views

Hey guys,

I'm currently working on getting in-app billing into my Air app. Does anyone know if there's already a native extension out for this? And if not are there any documents/tutorials out there worth looking at for this?

Thanks!

This topic has been closed for replies.

1 reply

Known Participant
December 3, 2013

Yeah, I know the post is old. But it still comes up in a key word search.

There's an adobe article at:

http://www.adobe.com/devnet/air/articles/android-billing-ane.html

This shows how the MilkmanGames ANE can be used for AIR for Android (They have another tutorial for iOS).

The point worth mentioning here is that the article does not allow additional comments and now seems to be out of date.

Using the instructions in the article I wasn't able to get the AndroidIAB.ane to work. Turns out there are a few more things you need in the application descriptor file. I've included an example below with the added service and receiver tags.

          ]]>   

I would also like to mention that even after I had added the following to my application descriptor file I could only receive user cancellation events from the ANE and not purchase events. Turns out the device I was testing on hadn't been added to the known developer device list for purchasing test items. Hope this helps someone else.

Colin Holgate
Inspiring
December 3, 2013

With Milkman Games products you need to know that each version comes with a getting started PDF. Those are kept up to date. They are in the docs folder.

Known Participant
December 3, 2013

Wow. While I usually appreciate the quick response on the forums, it isn't so good when my post has a bug in it and I'm editing when you reply.

I finish my fix, which by the way takes forever since these forums are horrible about cut&pasting code, due to it wanting to ruin the formatting and stuff everything in a table.

And then when I post the update I get an error because you have already replied, and the forum throws away my edited post. And the last 10 minutes is wasted.