Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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()
 
Always look on the bright side of life. At least this ad is really tiny:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!