HI,
I have created an app to drive my soon’s RC car . the app is working nicely when launch using the companion, but when launched from the .apk I got immediately the following message ‘’ runtime error : Not connected to a bluetooth low energy device - end application’’
looking at some similar topic I have but all my button/ slider to disabled at start, but still have the message… so I don t know what to change more… see the code below.
Thus, why it is working with the companion and not the .apk?
Hi Boban,
It was not requesting anything during the installation.
But I just had a try allowing position and storage (the only ones I can check on for this app), but it didn’t change the runtime message error problem …
I added the permission manually
compiled/ downloaded /installed the app
giving the app full permission (position and storage)
then starting the app and…
I still have the same runtime error AND a new message error 908 saying the permission to fine location has been denied …
ok, well, my mistake, my BLE extension was not the latest release one (lost during the migration from MIT to Kodular… ). Now it is for sure: So this solve the permission problem (error 908) but I still have the runtime error at the start…
To what I understand It is expecting a BLE connection straight to the start: it cannot be linked to the part :
''when bluetoothLE.String.receive … ‘’ ??