开发者

in app purchase android with adobe air

I need to write an app for Android with Adobe AIR with payments capabilities. So I want to give user ability to buy some products in application. In iOS - there is In App Purchase, in Android - Google checkout. So the question is: can I use google checkout in Adobe AIR? I didn't find any API for this. Am I wrong? Is there any API for this? If 开发者_Python百科no - what can I use for that? Thanx a lot!


This is possible using the Native Extension feature of Adobe AIR. You can read more about how that works here:

http://www.adobe.com/devnet/air/articles/developing-native-extensions-air.html

Also, there is a extension prebuilt that handles all this for you. Full disclosure, it is a commercial extension and I am the author:

http://www.milkmangames.com/blog/2011/12/28/announcing-android-in-app-purchases-for-adobe-air/


Google checkout isn't accessible from Air applications, there are only SDKs for Java, .NET, PHP and other languages accept Action Script 3.

http://code.google.com/apis/checkout/samplecode.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜