Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile 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()
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic