Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Android createNewFile() .txt file and readFile() methods not working

 
Tom Mordon
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been trying to get my readFile() & createFile() methods to work and no luck so far. I'm using eclipse in Windows 7. My file path is correct so I'm not sure what's wrong with the methods. Anyone see anything that doesn't look right? For the createFile() I have do different parts and I can't seem to get either one to work. The readFile() is pretty straight forward and just has to read in the file. I have to add the parse code to it still.


createFile()



readFile()
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!