mirror of https://github.com/kivy/kivy.git
Updated An example of background Twisted server running on Android (markdown)
parent
6ca6275422
commit
714d03e9c1
|
@ -1,8 +1,8 @@
|
|||
Usually if you need to integrate Twisted inside Kivy App on Android you have to do something like that in your `main.py`:
|
||||
|
||||
```python
|
||||
from kivy.support import install_twisted_reactor
|
||||
install_twisted_reactor()
|
||||
from kivy.support import install_twisted_reactor
|
||||
install_twisted_reactor()
|
||||
```
|
||||
|
||||
But if you do not need Kivy UI in your "background" Twisted server you can just directly run `ractor.run()` and be happy.
|
||||
|
|
Loading…
Reference in New Issue