• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Unable to read more than one text files stored in sdcard  RSS feed

 
Ranch Hand
Posts: 634
Chrome Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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



-------------------------------------------------
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
 
Rancher
Posts: 42975
76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!