(Information and examples taken from the DroidScript documentation)
The GetDisplayHeight method gets the width of the screen area available to your app in pixels.
app.GetDisplayWidth();
function OnStart() { width = app.GetDisplayWidth(); app.ShowPopup( width ); }