I am trying to write a midlet code that lists all files in a folder and its sub-folders, if available, of a given parent folder, say root1. I imagine I need a code that does a recursive traversal of folders and sub-folders. Can some share with me a hint (some codes maybe) on how to start.

Thank you in advance.

Mutua