Hi,

FileHandle API in DeviceStorage is not supported at the moment, bug 752724.
However, the first step required for this has been done in bug 771288.

Jan

On 23/10/15 17:04, Jovan Gerodetti wrote:
Hello,

I'm trying to write a Logger for our app so we can keep log files on the SD card.

In order to achieve that I'm calling DeviceStorage.getEditable() to open my log file.
Then I'd like to call FileHandler.open('readwrite') to get write access.
The problem here is, getEditable() returns a File object, not a FileHandler object.

Is this a bug or am I doing something wrong here?

Regards,
Jovan


_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to