I am developing a keyboard app for Android, and I want to prevent a hacker from accessing any resources or source code from the APK file. I have used Proguard to obfuscate the code.
I have a dictionary (text file) which is used for auto-prediction. It needs to be encrypted.
ha,have,4303955
t,to,385691
i,it,387247
.....
Questions:
1) What approach can be used to encrypt the text file ?
2) How else can I improve the security of the app?