Table of Contents

ShowPopup

(Information and examples taken from the DroidScript documentation)

Description

The ShowPopup method shows a popup message on the screen for a few seconds which then fades away.

Use the option “Short” to shorten the time that the message is displayed and the option “Bottom” to make the message appear near the bottom of the screen.

 app.ShowPopup( text, options );

Example - Top

function OnStart()
{
  app.ShowPopup( "Hello World!" );
}

Example - Bottom

function OnStart()
{
  app.ShowPopup( "Hello World!", "Bottom,Short" );
}