Back

GetInstalledApps

Hello World

Returns a list of objects containing informations about installed apps.

See Also: GetRunningApps, GetRunningServices

Example - Show installed apps

function OnStart()
{
    app.ShowProgress();

    var lay = app.CreateLayout( "linear" );

    var list = app.GetInstalledApps();

    lst = app.CreateList( "", 1, 1 );
    lay.AddChild( lst );

    for(var i in list) {
        var a = list[i];
        lst.AddItem(a.packageName);
    }

    app.AddLayout(lay);

    app.HideProgress();
}
Copy All       Run      
string
number: integer
string: path to file or folder ( “/absolute/...” or “relative/...” )