作者crocoboy (鳄鱼)
看板AndroidDev
标题[问题] IAB(In-aApp billing) bind service
时间Mon Jul 23 18:02:46 2012
最近刚好在做有用到IAB的程式
当我下载Google的sample code以後
照着他的步骤改
然後等到我开始run的时候
他出现了
" Could not bind to service. "的错误讯息
我去查了一下code
是在BillingService.java里的中bindToMarketBillingService()
boolean bindResult = bindService(
new Intent(Consts.MARKET_BILLING_SERVICE_ACTION),
this, // ServiceConnection.
Context.BIND_AUTO_CREATE);
但是无论我怎麽改 都一直无法bind成功
有人有遇到相关的问题吗?
附上范例的网址
http://tinyurl.com/cgckhpr
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.113.13.217