(Information and examples taken from the DroidScript documentation)
The GetScreenWidth method gets the width of the phone/tablet screen in pixels.
app.GetScreenWidth();
function OnStart() { width = app.GetScreenWidth(); app.ShowPopup( width ); }