J
J
jeck_landin2012-01-25 00:59:00
Android
jeck_landin, 2012-01-25 00:59:00

android + offer systems

I would like to introduce an internal currency into my Android application, for which you can buy different items. I'm going to connect an offer system, that is, instead of regular banners, users will receive offers "download this game and get 10 coins." The question arises - how to prevent the purchased good and the cache from being lost when reinstalling, switching to a new device, etc. The standard in-app purchase mechanism is not suitable. we can record purchases in it only in exchange for real money. There is an idea to use a backup service for this , but it does not work very stably. I do not want to write my server at all.

Has anyone here solved a similar problem? And, if so, is it worth it at all?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
cencio, 2012-01-25
@cencio

You need your own server for this. On which the database will store the player's account, what he bought, etc.

S
serso, 2012-01-25
@serso

In a good way, you really need your own server to store all the information and check the actions of the player.
But you can try to get out with the help of android.market: 1. Create several free products
2. Each product is a certain amount in your currency (for example, 1r, 2r, 5r, 10r, 50r, 100r, if the currency is rubles)
3. You programmatically manage the purchase of currency (as far as I understand, the user will still be prompted to go to android.market to confirm payment for the purchase (even for free)) for any actions of the player. The
disadvantages are obvious: if the application is hacked, then an attacker can buy your currency in any amount because this is only controlled on the client side.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question