Reported DPI is wrong

badlogicbadlogic Posts: 23Member
Hi,

i wasn't sure where to report bugs, so here we go. Please let me know if there's a more appropriate place.

Android has query interfaces to get the DPI on the x and y-axis. These seem to be reported incorrectly by Ouya.


DisplayMetrics metrics = new DisplayMetrics();
activity.getWindowManager().getDefaultDisplay().getMetrics(metrics);


Running this on a Samung UE32ES5700, i get 160 pixels per inch on both the x and y-axis. The real PPI would be around 60 for that specific TV.

Maybe the HDMI protocol doesn't report those things correctly to the Ouya.

ciao,
Mario

Comments

  • Jack_McslayJack_Mcslay Posts: 100Member
    There's no way of knowing how much is the real PPI, as every screen has it's own. And as far as I know, no, HDMI does not report the screen size to the device it connects.

    Even if it did, you shouldn't rely on it anyway, there's no way of knowing how far the player is from the TV. Some people will play on a 40" on a living room, others will play on a 24" monitor on their desks, so pixel density won't be an accurate measure to define how easy to see elements are on the screen.
  • HicsyHicsy Posts: 177Member
    even though she said they were living on the forums for our problems, apparently the forum is for community discussion and bugs have to be emailed
    Can't find aapt.exe? Temp fix: Copy another one from 'android_sdk/build-tools/17.0.0' back to your 'platform-tools'
           -=Hicsy=-
    PM me        Facebook

  • badlogicbadlogic Posts: 23Member
    Thanks for the info to both of you. I was looking into the various protocols HDMI implements and it indeed doesn't report physical dimensions. Welp, guess i have to special case for the OUYA then :)
Sign In or Register to comment.