Adding Raw Resource Files

Raw resource files, such as the quizhelp.txt text file, can be added to the project by simply including them in the / raw resources project directory. This can be done by either creating them as a new file, dragging them in from a file management tool, or any other way you're accustomed to adding files to Android projects in Eclipse.

Did you Know?

Each Android application has its own private directory on the Android file system for storing application files. In addition to all the familiar File and Stream classes available, you can access private application files and directories by using the following Context class methods: fileList(), getFilesDir(), getDir(), openFileInput(),openFileOutput(), deleteFile(), and getFileStreamPath().

0 0

Post a comment