Simple example of how to get pixel density on PC and Android