I want to store a variable where no one can see the value,
If somebody tries to decompile the APK file:
private final String secretkey = "THEmyKEYISLOVE";
I compiled the application to APK and then decompiled it with http://www.javadecompilers.com
When I checked the code, it is showing the value! Is this a security problem?
I read something about Signed APK files, which includes a public key inside the APK, so only those who have the private key can open it. Does this work to prevent anyone from seeing the value of secretkey
?
Any advice?