I need to access myfile.txt file using FileReader in Android , please suggest me where to add the text file in Eclipse. I tried it adding it in Resource and Asset but I am getting File not found issue.
FileReader fr = new FileReader("myfile.txt");
Even
File ff = new File("myfile.txt");
File Supports only the below listed parameters

FileReader Supports only the below listed parameters

Note: I want solution for this issue , only with FileReader or File
The directory would be
/res/raw/this is where you put all your extra resources.you can refer to it using
getResources().openRawResource(resourceName)and check here Android how to get access to raw resources that i put in res folder?
EDIT:
how can i edit the text files in assets folder in android
in short
the easiest way would be to copy the file to external directory then do your stuff there
link is here
Android: How to create a directory on the SD Card and copy files from /res/raw to it?
One thing to mention – prior to 2.3 the file size in the assets cannot exceed 1MB.
hope it helps abit