I am trying to read data from a text file using FileReader.
The problem i am facing is, everytime i run my code on the AVD, i see
an error in LogCat with FileNotFound expcetion.
I have placed the file in res\raw folder.
Here is a snippet of my code.
try{
FileReader fr = new FileReader("4ltrwrds");
}
catch(FileNotFoundException e) {
System.out.println("File not Found");
System.exit(0);
}
I am using eclipse and get this error when i run the project using the
AVD.
However i have the same code in a different project and it runs fine.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en