Screenrect versus mobile phone pixel size
Posted: Wed Oct 01, 2014 2:41 pm
When I test my Sony Xperia it says the screenrect is: 360 width x 592 height
But the specs say 720 x 1280 pixels. 319 ppi. The screenrect doesn't include the status bar.
What is the relationship? How is the screenrect value calculated for my phone? What is the rect of the status bar?
OK, my guess:
In my opinion the screen 'actual' size for my 720 x 1280 pixels in terms of LC is 360w x 640h which consists of the status bar 360w x 48h and the screenrect 360w x 592h.
screenrect ref:
http://livecode.com/developers/api/6.0. ... creenRect/
But the specs say 720 x 1280 pixels. 319 ppi. The screenrect doesn't include the status bar.
What is the relationship? How is the screenrect value calculated for my phone? What is the rect of the status bar?
OK, my guess:
In my opinion the screen 'actual' size for my 720 x 1280 pixels in terms of LC is 360w x 640h which consists of the status bar 360w x 48h and the screenrect 360w x 592h.
screenrect ref:
http://livecode.com/developers/api/6.0. ... creenRect/