Please tell me, with what tools can you save the settings of the application in the application file itself? For example, I packed the application into a single file and want to store the application settings in this file. Is it possible?

    1 answer 1

    No, it’s impossible to store data directly in apk, since it has already been compiled and any entry to it requires root rights on the device.

    You can store data either in SharedPreferences , or in a file on the device. If you need to store a lot of the same type of information, use the database.