Testing of In-app Billing application

回眸只為那壹抹淺笑 提交于 2019-12-25 05:08:10

问题


I have made a testing application for In-app Billing, For testing the feature of In-app Billing do i have to upload the application on market (not publish) or i can test it directly ?


回答1:


  1. if you are using android.test.purchased then you need not to upload your APK.

  2. if you are using your own product id then you have to upload APK and also you have to add a product with the same name you mentioned in your code. you have to publish only product (not application). Note you will not be able to buy product from your market profile ID. You have to setup a test account.




回答2:


There's an excellent step-by-step guide to implementing in-app billing here: http://developer.android.com/guide/market/billing/billing_integrate.html but indeed you have to hunt a bit for an answer to your question.

You do have to upload the application to the market but you don't have to publish it. You also have to create application extras (that which is purchased) and they DO have to be published.



来源:https://stackoverflow.com/questions/10702900/testing-of-in-app-billing-application

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