Janusz
Janusz

Reputation: 189534

How to package and access extra files inside my apk

I have some data files that I need to install together with my application on the emulator for easy testing my app on a device.

Where can I put files in a way that Eclipse will include them into my apk and how can I access those files after my application is installed on the device?

Upvotes: 4

Views: 6145

Answers (1)

Macarse
Macarse

Reputation: 93163

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

Check this to learn how to use it.

Upvotes: 8

Related Questions