android - Presentation Display: wrong DPI's -


my application runs in phone & uses presentation display render scene.

the phone samsung galaxy s4 around 480dpi's.

i connect 40" tv mhl/hdmi adapter. seen in logcat metrics:

{"hdmi screen": 1920 x 1080, 60.000004 fps, density 320, 320.0 x 320.0 dpi, touch external, rotation 0, type hdmi, flag_secure, flag_supports_protected_buffers, flag_presentation} 

my problem is, dpi's of secondary display wrong! density much, lower 320dpi. wonder value comes from, , if adjustable. i'd use value in mdpi land font rendered smaller.

if you're looking @ dpi in displaymatrics class- isn't accurate. depends on field being set oem when build android, field isn't set causes no bugs isn't used anywhere. can't trust native screen device built with. trusting outside screen less right.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -