Fixing up file utilities

This commit is contained in:
Joe Bowser 2009-11-13 14:36:51 -08:00
parent 103cdd5458
commit 1731eeca69

View File

@ -104,7 +104,7 @@ public class FileUtils {
public int write(String filename, String data, boolean append) public int write(String filename, String data, boolean append)
{ {
int i=0; int i=0;
String FilePath="/sdcard/" + filename; String FilePath= filename;
try { try {
ByteArrayInputStream in = new ByteArrayInputStream(data.getBytes()); ByteArrayInputStream in = new ByteArrayInputStream(data.getBytes());
byte buff[] = new byte[1024]; byte buff[] = new byte[1024];