File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Android createNewFile() .txt file and readFile() methods not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "Android createNewFile() .txt file and readFile() methods not working " Watch "Android createNewFile() .txt file and readFile() methods not working " New topic
Author

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

Tom Mordon
Ranch Hand

Joined: Apr 26, 2012
Posts: 30
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()
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Android createNewFile() .txt file and readFile() methods not working
 
Similar Threads
java.io.StreamCorruptedException: invalid stream header:i understand its a thread issue not sure fix
how to get progress bar after selecting a view
store a file in tomcat server
error while connecting to webservices
how to transfer images to ftp server in android