Android AIR In-app Purchase Flash CS6 - android

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/

Related

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

Android: Adobe Access DRM

We're developing a native Android streaming video player. And we want to implement DRM support in it. We've chosen Adobe Access. But we can't find any documentation about it for native app, only for Adobe AIR development.
So, here is the question: is there any way to use Adobe Access DRM in the native Android app?
It will be possible soon. Adobe has been cooking a BETA of native Android libraries for Adobe Access. So far they haven't released/leaked anything yet. ETA could potentially be February, but my sources couldn't confirm this. Hope this helps.
The prevalence of rooted devices may make spending your development time making Adobe Access DRM work less helpful to your app customers than better device support, app testing, and feature development.
Likely you will have to invoke the Adobe Air app, and let it handle all the view/playback activity.
Adobe has a quick start guide (adobe.com PDF).

Adobe Air for cross-platform iOS and Android development

I saw this sometime ago and wanted to check if anyone with experience doing cross-platform Application using Adobe AIR. I have seen their LVVM compiler with AOT and Android runtime.
Say I need to create the same application for iOS and Android, is this recommended? Are they any limiation that I don't aware yet? Can they access to respective's native API? Are things like Animation h/w accelerated? Any performance penalty?
It really depend on the application that you want to build. Adobe Air is more focus on game development, but not saying it can't be used for application usage. Plus there are some cool native plug-in which can boost up your application. I suggest to understand your project requirement and have a checklist against Adobe air, then decide to implement or not.
Have a read the following review by Cnet about this product.
http://download.cnet.com/Adobe-AIR/3000-2383_4-10652806.html
You can create IOS and android application Using PhoneGap.

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

Android MediaStore from Air App

I am writing an Air app that needs to access the Android Media Store.
So far tried:
Direct access to the SQLite database. Seems Android does not give permissions for this.
Next attempted calling a native Android app from my Air app. Burrito does not seem to support NativeProcess for Android.
Any ideas or workarounds?
Or do we drop AS3 and code native for Android?
Thanks, Ronnie
The only solution today is to combine a native apk with an AIR for Android apk. More details here:
http://elromdesign.com/blog/2010/10/29/hacking-native-android-with-air-app-to-allow-air-access-unavailable-apis/

Categories

Resources