0

I had great fun implementing the GoogleApiClient for my game using GameHelper.java I also want to use the Google billing services so I read the instructions at developer.android.com... Now I wonder why I can not find any code that uses a GoogleApiClient but code that uses a ServiceConnection. I thought that establishing the connection and handling all its cases is something that I already got with the GoogleApiClient. Am I wrong?

Luca Hofmann
  • 1,442
  • 2
  • 14
  • 26

1 Answers1

0

In-app billing service does not use GoogleApiClient. It is based on pure inter-process communication (IPC). I believe it's because in-app billing has been created before Google Play services. So you have to implement ServiceConnection callbacks.

sergej shafarenka
  • 20,071
  • 7
  • 67
  • 86