python748 / alternate-java-bridge-library

Automatically exported from code.google.com/p/alternate-java-bridge-library
Apache License 2.0
0 stars 0 forks source link

An easy way to show the connected device's screen size/density #90

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Implement the DeviceUtil class. This will be used to display a toast on screen 
stating the connected device's size (small, normal, large, xlarge), and density 
(low, medium, high, xhigh).

showScreenSize()

showDensity()

Pass the Form you are calling it from to this method, and a Toast will be 
displayed on screen letting you know the size/density. This is only meant to be 
useful for debugging purposes.

Original issue reported on code.google.com by IMPINC...@gmail.com on 18 Dec 2012 at 4:23

GoogleCodeExporter commented 8 years ago

Original comment by IMPINC...@gmail.com on 24 Dec 2012 at 7:40