Android service control activity implementation
This commit is contained in:
parent
24d2fdaf16
commit
f211b0df99
68 changed files with 6255 additions and 33 deletions
src/main/python
|
@ -16,11 +16,11 @@ class ServiceApp(App):
|
|||
LbrynetService = autoclass('io.lbry.lbrynet.LbrynetService')
|
||||
context = autoclass('org.kivy.android.PythonActivity').mActivity
|
||||
|
||||
LbrynetService.start(context, '')
|
||||
#LbrynetService.start(context, '')
|
||||
|
||||
# close the activity once the service starts
|
||||
# ideally, we should have some form of service control for the activity
|
||||
context.finish()
|
||||
#context.finish()
|
||||
|
||||
return Builder.load_string(kv)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue