ListFolder lists all the files and sub folder names in a given path to a comma separated list.
Example - Basic
function OnStart()
{
list = app.ListFolder( "/sdcard" );
app.ShowPopup( list );
}
Example - Filtered
function OnStart()
{
list = app.ListFolder( "/sdcard", ".mp3" );
app.ShowPopup( list );
}
string - path to file or folder ( "/absolute/..." or "relative/..." )
unknown
number - integer
string - "FullPath" or "?"