Device gets disconnected when navigated to next screen and connects again when back on the screen, Is there any solution to keep it conected always? #195
I am trying to connect my app with HC 05 Adapter, and I am successfully able to connect the adapter. But the issue is that in app I check the availability in one screen and connect to device and receive data. till here everything is ok but when I navigate to other screen the device disconnects and when I come back on connection screen the device reconnects after checking availability. Is there any solution to keep it connected even when changed the screen.
I am trying to connect my app with HC 05 Adapter, and I am successfully able to connect the adapter. But the issue is that in app I check the availability in one screen and connect to device and receive data. till here everything is ok but when I navigate to other screen the device disconnects and when I come back on connection screen the device reconnects after checking availability. Is there any solution to keep it connected even when changed the screen.