From e572743dbf5430fdfc76120f5b3dca5411d3db94 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Fri, 17 Aug 2012 13:30:27 +0300 Subject: [PATCH] Update docs/source/android.rst --- docs/source/android.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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