应用内账单问题的机器人 [英] In-App-Billing Issues in android

查看:101
本文介绍了应用内账单问题的机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些怀疑在应用账单的机器人:

  • 我可以用不同的产品ID测试它无需支付$ 25个

  • 在下面的链接有选择增加产品后,它已被发布到上市那会如何加入节目UI类似的ListView或微调展现给用户?

    http://developer.android.com/guide/market/billing/billing_admin.html#billing-testing-setup

  • 从这里我们把价值在购买数据库initially.How应的改变,如果不止一个人使用app.As其上的设备,所以如果同样的项目将被两个人,他们是如何将同步购买?

  • 如何生成的ProductID?

解决方案
  1. 您必须拥有Android Market发布者帐户在您的应用程序测试应用内计费。因此,你必须支付谷歌的$ 25个注册费。至于产品本身的成本,还有4 android.test。* pre指定的产品ID来模拟购机活动,但不是真实的东西。为了测试你自己的产品ID,您必须使用真实的信用卡,并在最小价格变化的基础上的货币转换率。样品中的当前默认$ 1.34仍然能正常工作。
  2. 您可以将产品添加到应用程序,并希望这项工作的仅在它是正确定义的两个应用程序的的你的Andr​​oid市场发布商帐户。
  3. 在回答#2基本上回答你的问题#3。你必须未雨绸缪,确保产品的ID是向上兼容。
  4. 您可以创建任何你喜欢的,只要它是应用程序中是唯一的,即没有其他的应用内结算的项目有一个ID的productID。这是一个字符串,所以你可以把它叫做ItemNumberOne,iAmSoUnique,myVerSpecialService等谷歌选择sword_001和potion_001他们的计费样品中真实的项目。

I have some doubts regarding In-Application-Billing in android:

  • Can i test it with different product IDs without paying $25

  • In below link there is option to add product after it has been published to market then how it will added to program UI like ListView or Spinner to show to user?

    http://developer.android.com/guide/market/billing/billing_admin.html#billing-testing-setup

  • From where we put the value in Purchase database initially.How should its change if more than one person using app.As its on Device so if same iTem will purchase by two person how they will synchronize?

  • How to generate ProductID?

解决方案

  1. You must have an Android Market publisher account to test In-app Billing in your application. Thus, you have to pay Google the $25 registration fee. As for product cost itself, there are 4 android.test.* pre-designated product ids that emulate purchase activities but aren't the real thing. To test with your own product id, you must use a real credit card and the minimum price varies based on currency conversion rates. The current default $1.34 in the sample still works fine.
  2. You can add a product to an application and expect this to work only if it is properly defined in both the application and your Android Market publisher account.
  3. Answer #2 basically answers your question #3. You must plan ahead and make sure that product ids are "upward compatible".
  4. You can create any productID that you like, as long as it is unique within your application, i.e. no other in-app billing item has that ID. It's a string, so you can just call it "ItemNumberOne", "iAmSoUnique", "myVerSpecialService", etc. Google chose sword_001 and potion_001 for their real items in the billing sample.

这篇关于应用内账单问题的机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆