I am looking to convert pixes to inches and vice versa. I understand that I need DPI, but I am not sure how to get this information (e.g. I don't have the Graphics object, so that's not an option).
Is there a way?
...
I need to know exactly how big the screen is on the device in real units of length so I can calculate the acceleration due to gravity in pixels per millisecond.
Is there a method somewhere in the Android API for this?
...
We're developing an international product that displays a ruler to the user. Now in Germany and many other countries its of course common to use the metric system: cm or mm.
I'm aware that americans and canadians (and maybe others too) do still use inches, feet and yards.
So the question is: will todays americans (and other inch-countr...