Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to package and access extra files inside my apk

Tags:

android

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?

like image 873
Janusz Avatar asked Feb 27 '23 11:02

Janusz


1 Answers

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

Check this to learn how to use it.

like image 110
Macarse Avatar answered Apr 27 '23 00:04

Macarse