在应用程序内结算Android中。确切的方法是什么? [英] In-App Billing in Android. The exact way?

查看:83
本文介绍了在应用程序内结算Android中。确切的方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直工作在执行的应用程序,我要建一个应用内结算的Andr​​oid系统。基本的应用程序是免费的,在应用程序的应用程序将是有代价的。

I've been working on implementing an in-app billing in Android for the app I'm building. The base app would be free and the in-app apps would come at a price.

我按照已记录在Android开发者网站上的实现方法。但尽管如此,它说,我可以访问我已在Android Market中创建的应用程序时,在未公开的模式和设备,具有测试应用程序上。但是,这似乎并没有工作。

I have followed the implementation method that has been documented in the Android Developers website. But still, it says that I can access the app I have created in the Android Market when in unpublished mode on the device, that has the test app. But this doesn't seem to work.

我目前进展 我能够从我的应用程序调用的计费服务在应用内计费成功。但答复说:错误:找不到项目 该应用程序我是从我的基础的应用程序,要求是在Android Market中未公开的状态下使用。有两个在应用程序的应用程序在里面。

My Current Progress I am able to call the Billing Service from my app for in-app billing successfully. But the reply says that "Error: Item not found" The app I'm requesting from my base app is available in the android market in unpublished state. With two in-app apps in it.

我的提问

  1. 在我刚才提到的项目ID为com.karthik的应用程序。这是摆在首位正确的?或者我应该叫像com.karthik.item.inapp1?
  2. 我应该在Android Market怎样的改变?我又增加了一个电子邮件ID作为在市场上测试者的电子邮件ID。而且我用这个测试设备上这个程序。

请帮我出去!

PS:我已经检查了论坛其他类似的问题。但他们没有帮助我!

P.S.: I have checked the other similar questions in the forum. But they aren't helping me!

推荐答案

下面的清单:

  1. 登录在释放模式的.apk文件。
  2. 上传上的apk文件为未发布的征求意见稿,以谷歌播放。
  3. 上传<一个href="http://developer.android.com/guide/market/billing/billing_admin.html#billing-list-setup">products列表为您的应用程序草案。
  4. 确保为发布项目,但不会你的应用程序
  5. <一个href="http://developer.android.com/guide/developing/building/building-cmdline.html#RunningOnDevice">Install在释放模式.apk文件到设备
  6. 运行使用<一个应用程序href="http://developer.android.com/guide/market/billing/billing_testing.html#billing-testing-setup">test帐户
  7. 在应用程序内购买项目
  1. Sign the .apk in release mode.
  2. Upload the .apk as an "unpublished draft" to Google Play.
  3. Upload a products list for your draft app.
  4. Make sure to publish your items, but NOT your app.
  5. Install the release mode .apk to the device
  6. Run app using a test account
  7. Purchase items in-app

这篇关于在应用程序内结算Android中。确切的方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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