According to rxandroidble, dispose() should be called in onPause() of Activity lifeCycle, then the BLE connection will be close? And I can only connect BLE device in new Activity, and if I don't call dispose(), it will come up with BleAlreadyConnectedException(“Already connected to device with MAC address ***”) when I connect to BLE device in new Activity.
So, how can I maintain connection state between Activities?