File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,12 @@ Services
2
2
========
3
3
4
4
python-for-android supports the use of Android Services, background
5
- tasks running in separate processes, in this case each running their
6
- own Python interpreter instance. These are the closest Android
5
+ tasks running in separate processes. These are the closest Android
7
6
equivalent to multiprocessing on e.g. desktop platforms, and it is not
8
7
possible to use normal multiprocessing on Android. Services are also
9
8
the only way to run code when your app is not currently opened by the user.
10
9
11
- Services must be declared when python-for-android is run . Each one
10
+ Services must be declared when building your APK . Each one
12
11
will have its own main.py file with the Python script to be run. You
13
12
can communicate with the service process from your app using e.g. `osc
14
13
<https://pypi.python.org/pypi/python-osc> `__ or (a heavier option)
You can’t perform that action at this time.
0 commit comments