I have develop the ruler app. But i saw, what it work incorrect: real QVGA screen size is 47 mm, it show about 50 mm.
But: QVGA dpi is 120, resolution is 240. Screen size should be 2 inch = 50.8 mm.
So i divide dpi from abstract number for accuracy:
pix_per_inch=StraightEdgeActivity.dpi/0.943;
It's correct in QWGA (mistake is < 0.1 mm in screen size). But, maybe, in other screens it's incorrect. Please, test it, and send you mistakes.
Download here: Ruler app ?????????? ?????????????
But: QVGA dpi is 120, resolution is 240. Screen size should be 2 inch = 50.8 mm.
So i divide dpi from abstract number for accuracy:
pix_per_inch=StraightEdgeActivity.dpi/0.943;
It's correct in QWGA (mistake is < 0.1 mm in screen size). But, maybe, in other screens it's incorrect. Please, test it, and send you mistakes.
Download here: Ruler app ?????????? ?????????????