Android应用内和虚拟货币

Android应用内和虚拟货币

本文介绍了Android应用内和虚拟货币?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为android和一些研究制作游戏平台。但当我必须处理虚拟货币时(实际上我不知道这是我需要的),我陷入了困境。



用户需要能够购买一些虚拟货币(在我的情况下是豆类),以及那些豆类购买升级或任何他想要或需要的东西。



我看到Facebook立即用他的API支持,但Google Play(尽管他们没有解释如何去做)似乎不支持这个功能。



我如何用Google Play API完成这项工作?



问候!

解决方案

标准Android In- App Billing API,而不是Google Play游戏。虚拟货币是一种消费型应用内购买。您可以访问。


I am making the planifiacion of a game for android and some research. But i get stuck when i have to deal with the Virtual Currency (actually i dont know if this is what i need).

The user need to be able to purchase some virtual currency (in my case beans) and with those beans purchase upgrades or whatever he wants or needs.

I see that Facebook supports this right away with his API, but Google Play (altough they dont explain how to do it) appears to not support this functionallity.

how do i accomplish this with the Google Play API?

regards!

解决方案

What you are looking for is actually covered by the standard Android In-App Billing APIs, rather than Google Play Games specifically. A virtual currency is a type of 'Consumable In-App Purchase'. You can find out more information on these types of purchases by going to the official documentation here.

这篇关于Android应用内和虚拟货币?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 12:21