moster67 Expert Licensed User Longtime User Oct 5, 2020 #1 If I set the following in the Manifest manually and then make the AndroidManifest file "read-only", the service seems to be running fine: <service android:name="com.kct.bluetooth_demo.KCTBluetoothService"/> Click to expand... I'd like to avoid keeping the AndroidManifest file "read-only" while developing so I have tried the following in the manifest editor: SetServiceAttribute(com.kct.bluetooth_demo, android:name, "KCTBluetoothService") Click to expand... but I get an error as follows: Error parsing manifest script: Module com.kct.bluetooth_demo not found (Manifest Editor) Click to expand... "com.kct.bluetooth_demo" is part of my wrapper. As a test, SetApplicationAttribute works fine with "com.kct.bluetooth_demo" and apparently, the module is found: SetApplicationAttribute(android:name, "com.kct.bluetooth_demo.KCTApp") Click to expand... I guess it is something stupid but I cannot get it to work in the manifest editor. Any help/ideas?
If I set the following in the Manifest manually and then make the AndroidManifest file "read-only", the service seems to be running fine: <service android:name="com.kct.bluetooth_demo.KCTBluetoothService"/> Click to expand... I'd like to avoid keeping the AndroidManifest file "read-only" while developing so I have tried the following in the manifest editor: SetServiceAttribute(com.kct.bluetooth_demo, android:name, "KCTBluetoothService") Click to expand... but I get an error as follows: Error parsing manifest script: Module com.kct.bluetooth_demo not found (Manifest Editor) Click to expand... "com.kct.bluetooth_demo" is part of my wrapper. As a test, SetApplicationAttribute works fine with "com.kct.bluetooth_demo" and apparently, the module is found: SetApplicationAttribute(android:name, "com.kct.bluetooth_demo.KCTApp") Click to expand... I guess it is something stupid but I cannot get it to work in the manifest editor. Any help/ideas?
JordiCP Expert Licensed User Longtime User Oct 5, 2020 #2 (Untested) Code: AddApplicationText( <service android:name="com.kct.bluetooth_demo.KCTBluetoothService"/> ) Upvote 0
(Untested) Code: AddApplicationText( <service android:name="com.kct.bluetooth_demo.KCTBluetoothService"/> )
moster67 Expert Licensed User Longtime User Oct 5, 2020 #3 Sei grande! Thank you, Jordi. ? It created indeed the necessary entry in the manifest. Now I learned something new again. Much appreciated. Upvote 0
Sei grande! Thank you, Jordi. ? It created indeed the necessary entry in the manifest. Now I learned something new again. Much appreciated.