After following this tutorial and going through this, I was able to implement the in-app billing.
One question that I have is when the user starts the app, do I have to check every time that the he/she has purchased the item? What is a good way/correct way to do it (so that it does not delay the first Activity, and has all the purchased items accessible in the first activity as well?
There is a getPurchases()
here, which has been used in the IabHelper
class inside the int queryPurchases(Inventory inv)
function. Is that it?