C++/Cocos2d-x: how to add inapp billing (inapp pur

2019-06-04 02:07发布

问题:

I am currently developing an app which will be on Android Market. How can I implement in my Cocos2x-project the Google code for inapp billing on Android Market ?

Detailed explanations (or a detailed step by step tutorial :)) would be appreciated !

Thanks !!!

回答1:

JNI has to be used. The inapp is implemented in the Java part of the project.



回答2:

The SOOMLA Project has implemented it for you. It's designed specifically for game developers and it's great - but i'm one of the creators so i'm a bit biased :)

http://project.soom.la