[問題] IAB(In-aApp billing) bind service
最近剛好在做有用到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