Android can i get the device dpi by ppi -


i developing app multiple screen support.

i visited wiki android devicedensity comparison page.

i want convert ppi dpi.

for example:

samsung galaxy note has ppi of 285 (according wiki page).

but in wiki page data dpi not there every android device.

i want know how calculate dpi ppi.

for example, samsung galaxy note has ppi of 285. how calculate density of samsung galaxy note device (in dpi).

idk converting ppi dpi, pixels-per-inch fix value, dpi dots-per-inch on other hand depends on screen density. can how ever calculate dpi based on ppi , screen density. here 2 examples.

http://android-er.blogspot.com/2011/07/get-screen-size-in-dpi.html

getting screen density programmatically in android?

mainly jere.jones answer.


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -