Hello,

I have a really basic question.
I am trying to read the contents of a plain text file from my application.
I have placed the file under MyProject/assets/foo.txt and I am trying to
read it in my application with

BufferedReader reader = new BufferedReader(new FileReader(fileName));
reader.read();

where fileName ="assets/foo.txt" but I get a
java.lang.fileNotFoundException.

How can I ensure that the file is found?

Thanks,

John Goche

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to