Hi all,

I'm working on a game. My game has a bunch of things like In app purchases,
in game credits, unlocked content etc. To allow users to move their
progress and purchases across devices, I've decided to have them sign up
for an account at the beginning. This account will store all of their data.
Additionally, this account can be used by the same user with my future
games as well. Now I had a few questions about the best practices when
using a system like this. Here's what I've come up with so far. If
something can be done better, or I've left out something that'll help me,
please tell me.


   - User signs up at first run. Email is verified etc.
   - User account is stored online in Database A, so that I can use the
   accounts for future games
   - After this, purchase information etc is stored in Database B, which is
   different on a game to game basis.
   - In case internet is not available when the user does something that
   needs to be saved, it is stored to a local database, which is synced with
   the online one when an internet connection is found

Potential problems with this approach:

   - Some users may not appreciate having to sign up for an account
   - A rooted user could edit the local database and insert their own data
   to it. Is it possible to prevent/make this difficult?
   - While I have a certification in PHP/MySQL, I'm not too familiar with
   databases on Android.

Is there something I've left out/ignored? Do any of you have a better
approach to solve this problem?

Thanks
-- 
Raghav Sood
Please do not email private questions to me as I do not have time to answer
them. Instead, post them to public forums where others and I can answer and
benefit from them.
http://www.appaholics.in/ - Founder
http://www.apress.com/9781430239451 - Author
+91 81 303 77248

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to