diff --git a/docs/source/android.rst b/docs/source/android.rst index e1fb564..3de3328 100644 --- a/docs/source/android.rst +++ b/docs/source/android.rst @@ -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