I am trying to use a scanner by bluetooth.
But this kind that I am using disconnects frequently for battery safe.
When it reconnects it restarts my app, since android recognized a keyboard connected.
This cause my app to reload a lot of things that only happens when the application is turned on.
My question is, what is the cycle that happens when a Bluetooth keyboard is connected? I dont want that the app get restarted
But this kind that I am using disconnects frequently for battery safe.
When it reconnects it restarts my app, since android recognized a keyboard connected.
This cause my app to reload a lot of things that only happens when the application is turned on.
My question is, what is the cycle that happens when a Bluetooth keyboard is connected? I dont want that the app get restarted