Can Android applications have their variables read/set maliciously?
<p>This does not deal with apk piracy what I'm asking about is the code in the apk file.</p>

<p>I know that if you use shared memory and set the mode to public people can change the values that are saved but what about the code in the application? For example if I set a variable to public static int in a game could an outside application change those values?</p>

<p>Another question I have is if I have my application access a remote server could a 3rd party application possibly change the return value that my server would send back?</p>

<p>Thanks in advance</p>
