In-App simple tutorial [closed]

旧时模样 提交于 2019-12-03 13:35:54

Libgdx has an extension library that provides in-app-billing services in a cross-platform way: https://github.com/libgdx/gdx-pay. You can use this as-is, or use it as an example for how to interface between core and platform-specific code.

Read about the Libgdx way for Interfacing with Platform Specific Code.

Basically, you need to implement the in-app billing support within your Android project, and then expose an API to your platform-independent code to access whatever state you need. There really isn't anything libgdx-specific about the result, the billing code will all exist in your Android back-end, so most existing Android documentation and tutorials should apply.

See this forum post for a few more details: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=2544

Also, when searching, in Libgdx-land this is often called "IAP" support (for "in-app purchasing").

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