Not being able to establish connection for In app billing in android

我与影子孤独终老i 提交于 2019-11-29 12:35:35

As discussed, the example IabHelper implementation ignores the return value of the bindService() call.

bindService() returns false if it cannot bind to the Service. In this case, no callbacks will ever get called. In this respect, the return value of bindService() is essential for the program logic and should never be ignored; the example application is not exactly perfect here.

If I recall this correctly, conditions where binding to the IAB V3 will not work are:

  • Only IAB V2 is available (it uses a different class name)
  • Google Play is not fully set up
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!