When developing my Mobile Web App, I encountered an issue with getting the screen width of different devices to fit the views dynamically.
I am puzzled by the fact that the Motorola Atrix MB860 is reporting a width of 800px despite having a resolution of 540x960. This inconsistency has left me confused as to why JavaScript is returning 800px instead. I conducted a test using this page: http://www.quirksmode.org/m/tests/widthtest.html
Testing the above page on various devices revealed that most of them reported the width correctly, except for the Motorola Atrix. For example, the Galaxy S2 showed 480px and the Nexus 7 displayed 1280px.