mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Fixing up file utilities
This commit is contained in:
parent
103cdd5458
commit
1731eeca69
@ -104,7 +104,7 @@ public class FileUtils {
|
||||
public int write(String filename, String data, boolean append)
|
||||
{
|
||||
int i=0;
|
||||
String FilePath="/sdcard/" + filename;
|
||||
String FilePath= filename;
|
||||
try {
|
||||
ByteArrayInputStream in = new ByteArrayInputStream(data.getBytes());
|
||||
byte buff[] = new byte[1024];
|
||||
|
Loading…
Reference in New Issue
Block a user