improved accuracy on Android

used ydpi instead of densityDPI...
this apparently bases the calculation more on reality than some nominal
DPI.

As for the PC version - it's not accurate due to some standard value of
96PPI being used...monitor does not report true values. Still, good
enough for my purposes.