How to pack and access additional files inside my apk

I have some data files that I need to install with my application in the emulator for the convenience of testing my application on the device.

Where can I put files so that Eclipse includes them in my apk and how can I access these files after installing my application on the device?

+4
source share
1 answer

You can add them to the res/raw/ folder.

Check this one to find out how to use it.

+8
source

Source: https://habr.com/ru/post/1302985/


All Articles