Back

ListFolder

ListFolder.

  app.ListFolder( path, filter, limit, options )

Example - Basic



function OnStart()
{
    list = app.ListFolder( "/sdcard" );
    app.ShowPopup( list );
}
    Copy     Copy All       Run      

Example - Filtered



function OnStart()
{
    list = app.ListFolder( "/sdcard", ".mp3" );
    app.ShowPopup( list );
}
    Copy     Copy All       Run      

string: path to file or folder ( "/absolute/..." or "relative/..." )
unknown
number: integer
string: "FullPath" or "?"