黑莓Android的运行:在 - 应用内结算与谷歌IAP V2工作 [英] Blackberry android-runtime : In- app billing not working with Google IAP v2

查看:232
本文介绍了黑莓Android的运行:在 - 应用内结算与谷歌IAP V2工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经整合谷歌应用内结算V2黑莓,当我安装在黑莓发挥本书的应用程序,我得到这个错误:

I have integrated Google in-app billing v2 for Blackberry and when i install the app on Blackberry play book i get this error:

Error: problem setting up in-app billing: false

当我检查这个方法它说:如果有连接到Android Market的错误虚假

When i check this method it says:false if there was an error connecting to Android Market

这是方法:

if (!mBillingService.checkBillingSupported()) {
        showAlert("Problem setting up in-app billing: " + mBillingService.checkBillingSupported());
    }

我想什么?

更新时间:

以上的问题错误:问题 - 应用程序设置结算:假的。解决了,现在我面临这个问题

当我发送请求itseft失败,我的要求code是

When i sending request itseft fails, my request code is

Bundle response = mService.sendBillingRequest(request); // mservice - IMarketBillingService
PendingIntent pendingIntent  = response.getParcelable(Consts.BILLING_RESPONSE_PURCHASE_INTENT);
        if (pendingIntent == null) {
              Log.e(TAG, "Error with requestPurchase");
              return Consts.BILLING_RESPONSE_INVALID_REQUEST_ID;
        }

我查了响应code,即返回值5(即)developer_error。和对象的PendingIntent空变。从那以后,我无法继续下一步。甚至当我通过code检查IAP的支持,code返回false值。

I checked the responsecode, that return value 5 (i.e) developer_error. and pendingIntent object become null. After that i can't proceed the next step. Even When i checked the support for IAP through code, code return false value.

我不能够进一步进行,请帮助我。

I am not able to proceed further, please help me.

我已经张贴在论坛黑莓还的问题,但我还没有得到任何解决方案到现在。
链接:<一个href=\"http://supportforums.blackberry.com/t5/Android-Runtime-Development/Android-Inapp-purchase-response/td-p/2074235/page/2\" rel=\"nofollow\">http://supportforums.blackberry.com/t5/Android-Runtime-Development/Android-Inapp-purchase-response/td-p/2074235/page/2

I have posted question on Blackberry forums also, but i havent got any solution till now. Link :http://supportforums.blackberry.com/t5/Android-Runtime-Development/Android-Inapp-purchase-response/td-p/2074235/page/2

推荐答案

在运行Android应用程序不会自动有权访问谷歌Play商店应用内计费/采购。此功能需要支持谷歌Play应用程式这是不开源的Andr​​oid平台的一部分装置;而它仅适用于该许可证由谷歌(其中包括一些谷歌的应用程序)的谷歌Android体验的厂商。黑莓是不是这些环境之一,所以你想做什么不受支持。

Applications running in Android do not automatically have access to the Google Play store for in-app billing/purchasing. This feature requires the device to support the Google Play application which is not a part of the open source Android platform; rather it's available only to vendors that license the Google Android experience from Google (which includes several Google applications). The BlackBerry is not one of these environments, so what you're trying to do is unsupported.

如何获得某种形式的应用内结算的对黑莓Android的环境中工作,详情可的http://developer.blackberry.com/android/apisupport/apisupport_inapp_payments_support.html.

Details on how to get some form of in-app billing to work on the BlackBerry Android environment can be found at http://developer.blackberry.com/android/apisupport/apisupport_inapp_payments_support.html.

这篇关于黑莓Android的运行:在 - 应用内结算与谷歌IAP V2工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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