Can Java – Android applications maliciously read / set their variables?
This does not involve APK piracy. I asked about the code in the APK file
I know that if you use shared memory and set the mode to public, people can change the saved value, but what about the code in the application? For example, if I set variables to public static int in the game, can external applications change these values?
My other question is, if my application accesses a remote server, may a third-party application change the return value that my server will return?
Thank you in advance
Solution
Users can connect the debugger to any running Android application and change variables as needed
Another application - this is another problem, it may require a root device Or some smart ADB interaction
If you control the network, it is relatively easy to cheat the server response On public 3G networks – not so much