jjzjj

InAppBillingService

全部标签

android - 服务 Intent 必须明确 : Intent { act=com. android.vending.billing.InAppBillingService.BIND }

我在某些5.0设备上收到显式Intent异常,但我的代码已经具有显式Intent并且如下所示:IntentserviceIntent=newIntent("com.android.vending.billing.InAppBillingService.BIND");serviceIntent.setPackage("com.android.vending");PackageManagerpm=mContext.getPackageManager();ListintentServices=pm.queryIntentServices(serviceIntent,0);if(intentS

android - 应用内结算 v3,找不到 bindService() Intent

我是第一次使用GoogleforAndroid的应用内结算。但是,如果用户没有互联网连接或没有安装谷歌框架(例如使用自定义rom)并且可能在其他情况下(例如错误/旧市场版本等)此方法(在提供的IabHelper类中):mContext.bindService(newIntent("com.android.vending.billing.InAppBillingService.BIND"),mServiceConn,Context.BIND_AUTO_CREATE);不起作用,也没有建立任何服务。使用来自“Activity管理器”的少量调试信息:12-1719:58:31.184:W/A