> You might want to look at the device storage API:
> 
> 
> 
> https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage_API
> 
> 
> 
>   Gabriele


Thanks, but can you tell me how to get also the list of sub-directories in a 
directory. 
I found out this function:
"deviceStorage.enumerate([directory])
    Returns a DeviceStorageCursor that enumerates Files in the storage or the 
directory (string) passed as argument"

Does it return only the files within the directory or also the sub-directories 
within it?

Also regarding the function: does the term storage mean the root directory of 
all the files?
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to