File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,13 @@ options.
53
53
54
54
To create the service, create a python script with your service code
55
55
and add a :code: `--service=myservice:/path/to/myservice.py ` argument
56
- when calling python-for-android. The ``myservice `` name before the
57
- colon is the name of the service class, via which you will interact
58
- with it later. You can add multiple
59
- :code: `--service ` arguments to include multiple services, which you
60
- will later be able to stop and start from your app.
56
+ when calling python-for-android, or in buildozer.spec, a
57
+ :code: `services = myservice:/path/to/myservice.py ` [app] setting.
58
+ The ``myservice `` name before the colon is the name of the service
59
+ class, via which you will interact with it later. You can add multiple
60
+ :code: `--service ` arguments to include multiple services, or separate
61
+ them with a comma in buildozer.spec, all of which you will later be
62
+ able to stop and start from your app.
61
63
62
64
To run the services (i.e. starting them from within your main app
63
65
code), you must use PyJNIus to interact with the java class
You can’t perform that action at this time.
0 commit comments