changeset 240:f555b10712d7

misc: fixed Android namespace
author Goffi <goffi@goffi.org>
date Sat, 06 Oct 2018 09:48:52 +0200
parents a2af4c1e9c6f
children 661b9cf7b4e4
files buildozer.spec cagou/core/cagou_main.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/buildozer.spec	Wed Oct 03 21:02:53 2018 +0200
+++ b/buildozer.spec	Sat Oct 06 09:48:52 2018 +0200
@@ -7,7 +7,7 @@
 package.name = cagou
 
 # (str) Package domain (needed for android/ios packaging)
-package.domain = org.salutatoi.cagou
+package.domain = org.salutatoi
 
 # (str) Source code where the main.py live
 source.dir = .
--- a/cagou/core/cagou_main.py	Wed Oct 03 21:02:53 2018 +0200
+++ b/cagou/core/cagou_main.py	Sat Oct 06 09:48:52 2018 +0200
@@ -353,7 +353,7 @@
             self.sat = sat_main.SAT()
         if sys.platform == 'android':
             from jnius import autoclass
-            service = autoclass('org.salutatoi.cagou.cagou.ServiceBackend')
+            service = autoclass('org.salutatoi.cagou.ServiceBackend')
             mActivity = autoclass('org.kivy.android.PythonActivity').mActivity
             argument = ''
             service.start(mActivity, argument)