From f6e2e129b12eb1cdd620748d816a79378edbd3dc Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 7 Dec 2009 14:11:35 -0800 Subject: [PATCH] Fixing FileUtils --- framework/src/com/phonegap/FileUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/com/phonegap/FileUtils.java b/framework/src/com/phonegap/FileUtils.java index 373f1ffc..07901fd4 100644 --- a/framework/src/com/phonegap/FileUtils.java +++ b/framework/src/com/phonegap/FileUtils.java @@ -107,7 +107,7 @@ public class FileUtils { try { byte [] rawData = data.getBytes(); ByteArrayInputStream in = new ByteArrayInputStream(rawData); - FileOutputStream out= new FileOutputStream(FilePath, false); + FileOutputStream out= new FileOutputStream(FilePath, append); byte buff[] = new byte[rawData.length]; in.read(buff, 0, buff.length); out.write(buff, 0, rawData.length);