Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm doing some android development and one of the specific devices I need to test on is the LG ally. The tech specs on their web site list the display resolution as 480 x 800, but I also need the density in order to emulate the screen properly (the difference between 160 and 240 dpi is huge).

Anyone know the screen density for the LG Ally?

share|improve this question
up vote 0 down vote accepted

It's about 290 DPI (just crunch the numbers: Use the pythagorean equation to get the "pixels" diagonally, then divide by the screen diagonal).

share|improve this answer
thanks, never new how to calculate that before! – Joshc1107 Mar 22 '11 at 1:08
No problem. It's easier if you have the screen width/height (then you can just divide the pixels wide by the width, or the px high by the height) but those measurements are harder to come by. – Matthew Read Mar 22 '11 at 1:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.