Update docs/source/android.rst

This commit is contained in:
Mathieu Virbel 2012-08-17 13:30:27 +03:00
parent 61088ab5e6
commit e572743dbf
1 changed files with 1 additions and 1 deletions

View File

@ -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