mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +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)
|
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];
|
||||||
|
Loading…
Reference in New Issue
Block a user