comparison cagou/core/platform_/android.py @ 462:83c67b093350

android: renamed package from org.salutatoi.cagou to org.libervia.cagou
author Goffi <goffi@goffi.org>
date Sat, 20 Mar 2021 13:51:27 +0100
parents 3c9ba4a694ef
children 203755bbe0fe
comparison
equal deleted inserted replaced
461:3c9ba4a694ef 462:83c67b093350
46 PERMISSION_MANDATORY = [ 46 PERMISSION_MANDATORY = [
47 Permission.READ_EXTERNAL_STORAGE, 47 Permission.READ_EXTERNAL_STORAGE,
48 Permission.WRITE_EXTERNAL_STORAGE, 48 Permission.WRITE_EXTERNAL_STORAGE,
49 ] 49 ]
50 50
51 service = autoclass('org.salutatoi.cagou.ServiceBackend') 51 service = autoclass('org.libervia.cagou.ServiceBackend')
52 PythonActivity = autoclass('org.kivy.android.PythonActivity') 52 PythonActivity = autoclass('org.kivy.android.PythonActivity')
53 mActivity = PythonActivity.mActivity 53 mActivity = PythonActivity.mActivity
54 Intent = autoclass('android.content.Intent') 54 Intent = autoclass('android.content.Intent')
55 AndroidString = autoclass('java.lang.String') 55 AndroidString = autoclass('java.lang.String')
56 Uri = autoclass('android.net.Uri') 56 Uri = autoclass('android.net.Uri')
64 64
65 65
66 STATE_RUNNING = b"running" 66 STATE_RUNNING = b"running"
67 STATE_PAUSED = b"paused" 67 STATE_PAUSED = b"paused"
68 STATE_STOPPED = b"stopped" 68 STATE_STOPPED = b"stopped"
69 SOCKET_DIR = "/data/data/org.salutatoi.cagou/" 69 SOCKET_DIR = "/data/data/org.libervia.cagou/"
70 SOCKET_FILE = ".socket" 70 SOCKET_FILE = ".socket"
71 INTENT_EXTRA_ACTION = AndroidString("org.salut-a-toi.IntentAction") 71 INTENT_EXTRA_ACTION = AndroidString("org.salut-a-toi.IntentAction")
72 72
73 73
74 class Platform(BasePlatform): 74 class Platform(BasePlatform):