Using Google Play store with B4A App

AntonBrz

Member
Licensed User
Longtime User
Can anyone direct me to a tutorial on using the Google Play store within an app written with B4A? As many written games are given away free, with income only coming from purchases within the game itself, I have two questions.

1. How would you sell an addition to the game that would change a variable in the app? Example, say the game uses a variable 'stars' and the user wanted to purchase 100 'stars' to get to a higher level.

2. I should know this by now but I've spent all this time debugging endless other routines, the question is, how do I store a game variable like the score, so that if the player leaves the game, he will be at the same point in the game when he starts it again (Unless the user chooses New Game.)

Doe the sub Activity resume cover restarts?

Thank you for your help.

Anton
 
Top