Table of Contents

GetDisplayWidth

(Information and examples taken from the DroidScript documentation)

Description

The GetDisplayHeight method gets the width of the screen area available to your app in pixels.

 app.GetDisplayWidth();

Example

function OnStart()
{
  width = app.GetDisplayWidth();
  app.ShowPopup( width );
}