in app purchase android with adobe air - android

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 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

Related

Adobe AIR app with ALIPAY

we are developing an application for adobe air with in-app purchase
(of game add-ons).
we need to implement alipay inside the app.
I downloaded their documentations, it looks like there is no native extension for air.
i thought about using it with php + StageWebView (to show their UI for user paument) .
anyone here has an experience with Alipay + AS3?
Create an API on your own server that maps to the Alipay API or just hit the Alipay API directly. You shouldn't use a StageWebView for anything more than displaying a simple page since you have absolutely no control over it and cannot retrieve any data or response from the browser in your AS3.
If you are planning to upload this to the iOS App Store, you can't use Alipay. You must use Apple's In-App Purchase system. If you don't, Apple will reject your app. I don't know about the Google Play Store off the top of my head, but I believe it is recommended you do the same though not currently enforced the way Apple does. Additionally, it is natively supported and what users expect when using an Android or iOS device. There are various AIR Native Extensions (ANE) that you can use to implement that (just do some searching and you should find some)

Android AIR In-app Purchase Flash CS6

I am building an android app from Adobe AIR and Adobe flash CS6. I want to add In-app purchase in my app. I know that can be done using native extensions and I found one free extension here
https://github.com/pozirk/AndroidInAppPurchase
but I do not know how and where to integrate the coding in my flash timeline. Any help would be appreciated.
Have a look at our getting started tutorial here:
https://distriqt.uservoice.com/knowledgebase/articles/181029-using-native-extensions
It should at least get you going with the basic concepts of including an ANE in your project.
here you can find free adobe air native extensions http://www.devactionscript.com/

How to add in-app purchases for Android with Adobe AIR

I'm developing a game in Flash for mobile using Adobe AIR.I want to add in-app purchases for my game,specifically additional style packages that people can buy.I tried to find that information on Android Developers but it only describes the process of managing in-app purchases.
My question is,how do i implement this with Adobe AIR?I've heard of native extensions and stuff but i don't completely understand the product side:
Can players download the packages as spritesheets or can the packages be included in the game from the beginning but activated only when you buy them?
Thanks.
On Android you can do both: Include but deactivate or load it afterwards.
Regarding the requered ANE: Try this. This is a pretty good list for finding several ANEs

How to access to google checkout in adobe air?

I need to write application for Android using Adobe AIR. And I need to sell some goods. For this purpose I want to use google checkout, how can I use it from Adobe AIR? Thanx!
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

Android In-app purchases with Phonegap

Is there any way to implement Android In-app purchases with Phonegap? I can't find any information abt this issue. For example I can do IAP on iOS using InAppPurchaseManager Phonegap plugin. But there are no relevant plugins for Android.
And if it's impossible for some reason can you suggest any other way to implement instant(or renewable) payments for Phonegap Android app. I know there is a PayPal API for Android but I can't use it because of Phonegap...
The only way I can see is to use PayPal API for web-sites (and I have website where I can implement it) but I believe it's a bad user experience.
Please Help! Any suggestions!?
Thanks.
A partner and I just open sourced Android PayPal PhoneGap plugin and did a pull request to incorporate it into the PhoneGap plugin repository.
The plugin and instructions are now available on a branch here in this fork.
Let us know if you have any feedback.
PayPal recently released a PhoneGap plugin for Android, which is actively supported by PayPal.

Categories

Resources