Im planning my next android application and I have a problem, maybe you guys can give me some ideas.
In the application, I need to be able to save some data in a text file and be able to parse data from the file.
The problem is security.
I don't want the user to be able to edit the data in the file (perhaps for malicious reasons).
So how should I solve this problem?
If I encrypt the file, it's still possible to edit the file and force the application to crash when it's supposed to parse the data.
I was thinking maybe set some kind of hash code at the beginning of the file and verify it before parsing data.
Is this a good idea?
Do you guys have any ideas on different approaches?