As I have already explained in this question:
https://www.b4x.com/android/forum/threads/how-to-stop-a-non-ui-app.61980/
I have a non-ui app running on a RPi, talking to a tablet via bluetooth. In order to try and solve my problem in the above question, I created a ui version of the app with a single button to exit. It didn't work!!
The bluetooth failed to start and the app crashed out with an error. The code in both apps was the same.
Why does bluetooth not work in an ui app or have I missed something?
https://www.b4x.com/android/forum/threads/how-to-stop-a-non-ui-app.61980/
I have a non-ui app running on a RPi, talking to a tablet via bluetooth. In order to try and solve my problem in the above question, I created a ui version of the app with a single button to exit. It didn't work!!
The bluetooth failed to start and the app crashed out with an error. The code in both apps was the same.
Why does bluetooth not work in an ui app or have I missed something?