HTML and CSS Reference
In-Depth Information
Unfortunately, you aren't quite ready to test your filesystem. You need to implement some
functions to retrieve and display any existing files in the app's filesystem.
3.3.2. Getting a list of files from the filesystem
In listing 3.9 , the displayFileSystem function receives a reference to the filesystem
object and then calls a function named updatebrowserFilesList . In this section,
you'll create this function, which will retrieve a list of files in the app's filesystem directory
and display it in the My Files zone of the File Browser.
Step 2: Retrieve and display a file list
You'll need the next two listings for this work: one to create the updateBrowser-
FilesList function, another to create the displayBrowserFileList function.
First, displayBrowserFileList will accept a complete list of files as an argument
Search WWH ::




Custom Search