Save load and encrypt. А few questions from a newbie

Forum for the book "Beginning Android Games", see http://www.apress.com/9781430230427

Save load and encrypt. А few questions from a newbie

Postby bfox » Tue Aug 02, 2011 9:30 pm

Hello! Created his first full game. A few questions.

1. How do I save the game settings to a file so when you end the game and start again, all Save.
2. How to encrypt a file to open it in Explorer, it was impossible to understand that in it, and correct to gain advantage.
3. Is it possible to protect against decompilation apk?

Thank you.

sorry for my English. I am a Russian .=))
bfox
 
Posts: 2
Joined: Tue Aug 02, 2011 9:15 pm

Re: Save load and encrypt. А few questions from a newbie

Postby bfox » Wed Aug 03, 2011 12:56 pm

Figured out the settings and save. through preferens.

but anyone can help
2. How to encrypt a file to open it in Explorer, it was impossible to understand that in it, and correct to gain advantage.
3. Is it possible to protect against decompilation apk?
bfox
 
Posts: 2
Joined: Tue Aug 02, 2011 9:15 pm

Re: Save load and encrypt. А few questions from a newbie

Postby mzechner » Thu Aug 04, 2011 6:15 am

2) i'm afraid i don't understand the question :/
3) you can't keep people from decompiling your apk. but you can obfuscate it via ProGuard.
mzechner
Site Admin
 
Posts: 4713
Joined: Sat Jul 10, 2010 3:50 pm


Return to Beginning Android Games

Who is online

Users browsing this forum: No registered users and 1 guest