cfg.Light;
function OnStart()
{
app.EnableBackKey( false )
lay = app.CreateLayout( "Linear", "FillXY" );
path = "/storage/emulated/0";
home = app.ListFolder( path );
list = app.AddList( lay, home );
list.SetOnTouch( listing );
app.AddLayout( lay );
}
function listing(params)
{
path += "/" + params
home = app.ListFolder( path )
list.SetList( home )
}
function OnBack()
{
if(path == "/storage/emulated/0"){
app.Exit( true );
}
split = path.split("/");
split.pop();
path = split.join("/");
home = app.ListFolder( path )
list.SetList( home )
}