【发布时间】:2014-06-04 04:21:39
【问题描述】:
美好的一天!
我正在为我的应用实施应用内结算 v3。我遵循了 android 教程中的所有步骤,但它显示“找不到应用程序”
我将 apk 文件上传到 Alpha 版本。 创建的产品列表。 我在测试人员名单中。 包名相同。
super.onCreate(savedInstanceState);
bindService(new
Intent("com.android.vending.billing.InAppBillingService.BIND"),
mServiceConn, Context.BIND_AUTO_CREATE);
和
case R.id.ss_next:
startService(new Intent(this, service_test.class).setFlags(3));
break;
case R.id.d_bok:
stopService(new Intent(this, service_test.class));
ArrayList<String> skuList = new ArrayList<String> ();
skuList.add("premiumUpgrade");
skuList.add("gas");
Bundle querySkus = new Bundle();
querySkus.putStringArrayList("ITEM_ID_LIST", skuList);
try {
Bundle buyIntentBundle = mService.getBuyIntent(3, "",
"25coins", "i", "b");
PendingIntent pendingIntent = buyIntentBundle.getParcelable("BUY_INTENT");
startIntentSenderForResult(pendingIntent.getIntentSender(),
1001, new Intent(), Integer.valueOf(0), Integer.valueOf(0),
Integer.valueOf(0));
} catch (RemoteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (SendIntentException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
提前致谢!
【问题讨论】:
-
当您下载应用程序时会发生这种情况
-
@Pawanasati 你能澄清一下吗?
-
techotopia.com/index.php/… 我使用了这个链接,它也可以在测试帐户上正常工作
-
什么时候上传??需要一个小时
-
@Pawanasati 我按照教程进行操作,它适用于谷歌测试产品,但不适用于我的
标签: android google-play payment in-app-billing