mirror of https://github.com/kivy/pyjnius.git
Merge branch 'master' of github.com:kivy/pyjnius
This commit is contained in:
commit
2aebb554a9
|
@ -17,7 +17,7 @@ The `DisplayMetrics
|
|||
from jnius.reflect import autoclass
|
||||
DisplayMetrics = autoclass('android.util.DisplayMetrics')
|
||||
metrics = DisplayMetrics()
|
||||
print 'DPI', metrics.densityDpi
|
||||
print 'DPI', metrics.getDeviceDensity()
|
||||
|
||||
|
||||
Recording an audio file
|
||||
|
|
Loading…
Reference in New Issue