我已经整合谷歌应用内结算v2的黑莓,当我安装在黑莓发挥书的应用程序,我得到这个错误:黑莓Android的运行时:在 - 应用内结算不与谷歌IAP V2工作
Error: problem setting up in-app billing: false
当我检查这个方法,它说:false if there was an error connecting to Android Market
这是方法:
if (!mBillingService.checkBillingSupported()) {
showAlert("Problem setting up in-app billing: " + mBillingService.checkBillingSupported());
}
我失去了什么?
修订
以上问题“错误:问题设置应用内结算:假”解决了,现在我面临这个问题。
当我发送请求itseft失败,我的请求码是
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;
}
我检查responsecode,即返回值5(即)developer_error。并且pendingIntent对象变为空。之后,我无法继续下一步。即使当我通过代码检查了对IAP的支持时,代码也会返回错误的值。
我无法继续前进,请帮助我。
我也在黑莓论坛发布了问题,但我还没有得到任何解决方案,直到现在。 链接:http://supportforums.blackberry.com/t5/Android-Runtime-Development/Android-Inapp-purchase-response/td-p/2074235/page/2
看来你错过的东西很清楚:你错过了对应用内结算的支持!我最后一次检查(很久以前),黑莓不是一个谷歌的体验Android设备,这意味着它只有公开提供的组件,但不是谷歌Play商店的应用程序(而不是其他谷歌应用专利)。这仍然是这样吗?如果不支持应用内购买,这将是一个明显的原因。 – mah
我知道(高层次)制作Google Play应用所需的基础架构。我也知道如何使用谷歌(网络搜索),当它做“黑莓android应用程序购买”时,我被带到http://developer.blackberry.com/android/apisupport/apisupport_inapp_payments_support.html作为_top_链接,声明为第一行** BlackBerry Runtime for Android支持通过BlackBerry World **进行应用内支付。最后,我知道BlackBerry World并不是Google Play。现在...为什么你想知道我的工作?这不相关。 – mah
对于您试图实施的问题,请+1,如果您发现任何解决方案,请告知我。 – Maulik