Back

ToBack

Hello World

Hides the app but continue running it in the background.

app.ToBack()

If called, the global OnPause event will be fired and if reshown, OnResume is fired.

See Also: ToFront

Example - App to Background

function OnStart()
{
    alert( "App will now go to back." );
    app.ToBack();
}

function OnPause()
{
    app.ShowPopup( "OnPause" );
}

function OnResume()
{
    app.ShowPopup( "OnResume" );
}
Copy All       Run