mirror of https://github.com/kivy/pyjnius.git
docs/source/android: add note about nested classes
Right after the first DPI example, write a short note demonstrating the use of autoclass() with nested classes using the `$` character. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
This commit is contained in:
parent
5158f5ffe6
commit
95e0b3b94b
|
@ -19,6 +19,8 @@ The `DisplayMetrics
|
|||
metrics = DisplayMetrics()
|
||||
print 'DPI', metrics.getDeviceDensity()
|
||||
|
||||
Note: To access nested classes, use `$` like:
|
||||
`autoclass('android.provider.MediaStore$Images$Media')`.
|
||||
|
||||
Recording an audio file
|
||||
-----------------------
|
||||
|
|
Loading…
Reference in New Issue