Help about bluetooth conection

Hello friends, I have a small problem in the app inventor, in the application I am receiving data by bluetooth from a sensor, the problem occurs when I press the screen button marked with red on the phone, because it exits the app but is still connected at bluetooth, but when you reopen the app it no longer receives the data, but is "connected".
Regarding the "back" button on the screen, I already told to disconnect bluetooth and close the app. but with the button marked in red I don't know how to do it.

You can the ActivityStateChanged block from Taifun's Tools Extension in order to execute block code when the app is paused/stopped/resumed....


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.