Returns the density of the device's screen.
app.GetScreenDensity() → Number: integer
See Also: GetScreenWidth, GetScreenHeight, SetDensity
Example - Show Screen Density
function OnStart()
{
var dens = app.GetScreenDensity();
app.Alert( dens );
}
from native import app
def OnStart():
dens = app.GetScreenDensity()
app.Alert(dens)