[問題] IAB(In-aApp billing) bind service

看板AndroidDev作者 (鱷魚)時間12年前 (2012/07/23 18:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
最近剛好在做有用到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
文章代碼(AID): #1G3I59-f (AndroidDev)