doc: Improved pyjnius example code

This commit is contained in:
Alexander Taylor 2014-07-27 19:02:12 +01:00
parent 5e89597f7e
commit 2f0fe5af41
1 changed files with 2 additions and 2 deletions

View File

@ -122,9 +122,9 @@ Here is a simple example showing pyjnius' ability to access
the normal Android vibration API, the same result of the plyer code
above::
from jnius import PythonJavaClass, java_method, autoclass, cast
# 'autoclass' takes a java class and gives it a Python wrapper
from jnius import autoclass
# Context is a normal java class in the Android API
Context = autoclass('android.content.Context')