aspose file tools
The moose likes Android and the fly likes Unable to read more than one text files stored in sdcard Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Unable to read more than one text files stored in sdcard" Watch "Unable to read more than one text files stored in sdcard" New topic
Author

Unable to read more than one text files stored in sdcard

Mohit G Gupta
Ranch Hand

Joined: May 18, 2010
Posts: 634


--------------------------



-------------------------------------------------
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.

HELP

OCPJP 6.0 93%
OCPJWCD 5.0 98%
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
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?


Android appsImageJ pluginsJava web charts
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to read more than one text files stored in sdcard
 
Similar Threads
Cannot find the problem in the code
Interactive Stories on Android
Send variable value from one activity to another
How to get the complete path of file from android application
Unable to read file from Emulator's SD