3

I want to create folder in R.raw to classify my media source.

But when I try to read the folder in R, I can't found the folder.

 R.raw.folderName

How can I solve the problem?

Niki van Stein
  • 10,564
  • 3
  • 29
  • 62
jim
  • 1,035
  • 1
  • 8
  • 16

1 Answers1

1

You can not add folders to the raw folder or any of the folders inside the res folder.

Android supports only a linear list of files within the predefined folders under res. The asset folder though, can have an arbitrary hyarchie of folders because the asset folder is not considered as resources.

Niki van Stein
  • 10,564
  • 3
  • 29
  • 62