3

This one says that I shall use getBuyIntent() to start purchase flow, whereas another one tells me to use launchPurchaseFlow().

Which one should I use?

Sid Go
  • 2,041
  • 3
  • 16
  • 29
  • intresting.. both looks same to me. We use lauchPurchaseFlow() without any issue. Even example given with google-play-services on github uses launchPurchaseflow() https://github.com/googlesamples/android-play-billing , Hopefully someone can give exact reason of using first one – Amod Gokhale Sep 24 '16 at 11:23
  • @AmodGokhale upvote it please so we can get an answer – Sid Go Sep 24 '16 at 11:45

1 Answers1

1

To work with in app-billing you have to use IInAppBillingService. First link is about this service API. The second link (training section) explains example with wrapper around IInAppBillingService, so underneath it also uses getBuyIntent().

Maxim G
  • 1,479
  • 1
  • 15
  • 23