I have a text file in my res/raw directory. I want to read the file line by line, but FileReader and BufferedReader fail, because of Android\'s security restriction. How els
A DataInputStream allows you to do a readLine (along with a host of other operations); see DataInputStream Reference.
getResources().openRawResource() returns an InputStream that should be usable for line-by-line reading.
getResources().openRawResource()
InputStream