I
I
isxaker2013-09-02 14:15:31
JavaScript
isxaker, 2013-09-02 14:15:31

Build folder structure with js on android

On the android tablet is the index.html file. In it, I need to go through the structure of files and folders using javascript and display this structure. Tell me which way to dig. At first I wanted to use node.js, but since everything is local on android, I realized that nothing would work.
You need something like this
root
|_ fruits
|___ apple
|______images
|________ apple001.jpg
|________ apple002.jpg
|_ animals
|___ cat
|______images
|_______ cat001.jpg
|_________ cat002.jpg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Kitmanov, 2013-09-02
@k12th

Dig towards FileAPI . If it doesn't work, then see how it's done in PhoneGap .

K
Keenest, 2013-09-02
@Keenest

From the browser - and through the file system? Wow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question