Answer the question
In order to leave comments, you need to log in
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
Dig towards FileAPI . If it doesn't work, then see how it's done in PhoneGap .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question