C++/Cocos2d-x: how to add inapp billing (inapp purchase) in Cocos2d-x Android project?

混江龙づ霸主 提交于 2019-12-08 07:35:55

问题


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



来源:https://stackoverflow.com/questions/9002431/c-cocos2d-x-how-to-add-inapp-billing-inapp-purchase-in-cocos2d-x-android-pr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!