First alpha release (#52)
* added __version__ to main.py * package name changed from io.lbry.lbrynet to io.lbry.browser * removed unnecessary WRITE_EXTERNAL_STORAGE permission from AndroidManifest template, buildozer.spec updates and some cleanup
This commit is contained in:
parent
c9d8fa1e85
commit
76dee67e9a
298 changed files with 43 additions and 40521 deletions
src/main/python
|
@ -1,16 +1,12 @@
|
|||
__version__ = "0.1.1"
|
||||
|
||||
class ServiceApp(App):
|
||||
def build(self):
|
||||
from jnius import autoclass
|
||||
|
||||
Intent = autoclass('android.content.Intent')
|
||||
LbrynetService = autoclass('io.lbry.lbrynet.LbrynetService')
|
||||
#context = autoclass('org.kivy.android.PythonActivity').mActivity
|
||||
|
||||
#LbrynetService.start(context, '')
|
||||
|
||||
# close the activity once the service starts
|
||||
# ideally, we should have some form of service control for the activity
|
||||
#context.finish()
|
||||
|
||||
LbrynetService = autoclass('io.lbry.browser.LbrynetService')
|
||||
|
||||
if __name__ == '__main__':
|
||||
ServiceApp().run()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue