From 9ecf8b22637b2b34f39d6d81aa37fdc90fe19cf1 Mon Sep 17 00:00:00 2001 From: Ian Foote Date: Wed, 11 Sep 2013 22:41:19 +0100 Subject: [PATCH 1/2] Document autoclass syntax for nested Java classes. --- docs/source/api.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/api.rst b/docs/source/api.rst index 5a99be3..959be7c 100644 --- a/docs/source/api.rst +++ b/docs/source/api.rst @@ -1,5 +1,5 @@ -.. _api: +.. _api: API === @@ -169,6 +169,10 @@ Reflection functions >>> autoclass('java.lang.System') + autoclass can also represent a nested Java class: + + >>> autoclass('android.provider.Settings$Secure') + Java class implementation in Python ----------------------------------- From 6a9705138f751602dff82fd69dbf4fb1ba951ee4 Mon Sep 17 00:00:00 2001 From: Ian Date: Sun, 22 Sep 2013 10:55:59 +0100 Subject: [PATCH 2/2] Remove duplicated text from TextToSpeech example. --- docs/source/android.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/android.rst b/docs/source/android.rst index 4c9ed92..2c069d1 100644 --- a/docs/source/android.rst +++ b/docs/source/android.rst @@ -215,8 +215,7 @@ You'll obtain something like this:: Using TextToSpeech ------------------ -Same as the audio capture, by looking at the -By looking at the `An introduction to Text-To-Speech in Android +Same as the audio capture, by looking at the `An introduction to Text-To-Speech in Android `_ blog post, it's easy to do it with Pyjnius:: from jnius import autoclass