4 Replies Latest reply on Sep 17, 2011 9:52 PM by GoodNewsJim

    How do I determine Android Screen Width/Height?

    GoodNewsJim Level 1



      I've done a Google Search for finding the screen size in Android, but only found Java code(which I can't use).


      The closest thing I found was:




      And they seemed reasonable, however when I drew an object at maxwidth on my HTC Sensation, it only drew in about the middle of the screen.


      So I am very confused.  A person simply cannot write Aps for Android unless they can get screen size because everyone's phone is different.


      Any help?