Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)

(gtxtreme123) #1
Importing Assets

Figure 20.3  Creating the assets folder


Click Finish to create your assets folder.


Next, right-click on assets to create a subfolder for your sounds by selecting New → Directory. Enter
sample_sounds for the directory name (Figure 20.4).


Figure 20.4  Creating the sample_sounds folder


Everything inside of the assets folder is deployed with your app. For the sake of convenience and
organization, you created a subfolder called sample_sounds. Unlike with resources, a subfolder is not
required. You include it to organize your sounds.

Free download pdf