Adobe AIR native extension for Samsung's in-app purchases API 2.0
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


ANE for Samsung's IAP 2.0

=========================== How to use ===================================

Find the ready to use SWC and ANE inside the /build folder.

Add the following nodes to your application.xml:

Also add the following nodes to manifestAdditions in your application.xml:
<application android:enabled="true">
	<activity android:name="" android:theme="@android:style/Theme.NoDisplay"></activity>
	<activity android:name=""></activity>

The Samsung IAP API uses activities, currently i haven't found a way of doing interacting with the API without implementing activities, and they must be allowed as shown above.

=========================== What's inside ================================

The /as folder contains a FlashDevelop project for developing the action script part of the extension and may be creating a testbench (in the future).
The /java folder contains a ADT (Eclipse) project with the native java source code.
The /platform folder conatins all the files that are needed to package the extension.

=========================== Building =====================================

To build the stuff yourself using the current setup you need: ADT, FlashDevelop and Perl 
1) Open the Eclipse project and export the jar file into the /platfrom/Android folder
2) Building the SWC and the ANE is automatic and is configured as a post-build instruction of the FlashDevelop project. It is done by a perl script - as/ You just run the build command in FlashDevelop (F8).

It is advised that you visit this page: and become familiar with the application flow of the samsung API as the extension is transparent.

The extension is built so that it will run on any system with the Action Script iplementation only (for debuging purposes, without throwing exceptions). You should check ADL's documentaion here: