Forums Register Login
Unable to read more than one text files stored in sdcard


my sdcard contains two text files. I want when the user selects one of them within the application then it should open the selected file.
In the above code I am trying to pass the variable path,postion from AndroindApplication.java to Readfile.java .But in Readfile it is unable to get the path.

The text files are stored in myfolder under sdcard.
The two varaibles are used by File Oject in readfile.java to read the file.

What does "unable to get the path" mean? What does happen, exactly, and what do you think should happen instead? What are the values of variables involved?

This thread has been viewed 2283 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 18, 2018 11:41:43.