Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jarnik/ouya_iap_openfl
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnik committed Jul 26, 2013
2 parents a47a2a2 + 91c21d5 commit 8609545
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,15 @@ You will need:

Enter the above mentioned into the Main.hx.

IAPHandler class defines multiple callback methods (onProductListReceived, onPurchaseSuccess, etc.).
IAPHandler.hx class defines multiple callback methods (onProductListReceived, onPurchaseSuccess, etc.).
Subclass it and override the methods with your own handlers.
One such example subclass is a MyIAPHandler.hx.

The JNI bindings are contained within a src\java\com\jarnik\iaptest\OUYA_IAP.java class.
The JNI bindings are contained within a src\java\com\jarnik\iaptest\OUYA_IAP.java class.
It's mostly a copy-pasted "iap-sample-app" from the ODK.

Contributing:
=======

My Java and JNI knowledge is fairly limited, so please don't hesitate to contribute with better methods.
The openfl-ouya contains some part of ODK IAP API, but I couldn't get it to work, so I made this crude wrapper.

0 comments on commit 8609545

Please sign in to comment.