Exam AND-401 All QuestionsBrowse all questions from this exam
Question 81

When including a text file in your application to read from as a resource, what is the recommended location of such file?

    Correct Answer: C

    For including a text file in your application to read from as a resource, the recommended location is res/raw. The raw/ subdirectory is intended for arbitrary files to be kept in their raw form, allowing you to read them programmatically. This allows the application to access the file without any processing or modification. Thus, placing the text file in res/raw is the most appropriate choice.

Discussion
MmadiOption: C

C. res/raw