mirror of https://github.com/kivy/pyjnius.git
add desktop subsection in README
This commit is contained in:
parent
30b083b362
commit
1588c6040a
15
README.md
15
README.md
|
@ -23,6 +23,19 @@ world
|
||||||
hello
|
hello
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Usage on desktop
|
||||||
|
----------------
|
||||||
|
|
||||||
|
You need java JDK installed (openjdk will do), cython, and make to build it
|
||||||
|
|
||||||
|
make
|
||||||
|
|
||||||
|
That's it! you can run the tests with
|
||||||
|
|
||||||
|
make tests
|
||||||
|
|
||||||
|
To make sure everything is running right.
|
||||||
|
|
||||||
Usage with python-for-android
|
Usage with python-for-android
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
|
@ -75,7 +88,7 @@ Advanced example
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
When you use autoclass, it will discover all the methods and fields within the object, and resolve it.
|
When you use autoclass, it will discover all the methods and fields within the object, and resolve it.
|
||||||
It's better to declare and use only what you need (for the moment).
|
For now, it can be better to declare and use only what you need.
|
||||||
The previous example can be done manually:
|
The previous example can be done manually:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
Loading…
Reference in New Issue