I am working on an Android app and I have a bunch of static configuration that I load from /res/raw. I’m wondering if these files are accessible by the user? If so, can they be modified by the user as well? While my app will be interacting with these files, I don’t want the end user to be able to manually manipulate them.
Thanks
They are publicly visible to all applications. Users typically would not have an application that would allow browsing of such resources, but such an app is certainly possible.
Resources are read-only for everybody, including you for your own app, while the app is on the device. However, users could grab the APK off the device, decompile it, change resources, recompile it, and install the modified edition. Again, most users would not have the skills to do that, but it is certainly possible.