Android service control activity implementation

This commit is contained in:
Akinwale Ariwodola 2017-08-17 15:31:42 +01:00
parent 24d2fdaf16
commit f211b0df99
68 changed files with 6255 additions and 33 deletions
src/main/python

View file

@ -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)