EduardoElias Active Member Licensed User Longtime User Jul 30, 2017 #1 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
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
fixit30 Active Member Licensed User Longtime User Jul 30, 2017 #2 It would be better to use the barcode scanner in SPP Mode if it supports it Upvote 0
EduardoElias Active Member Licensed User Longtime User Jul 30, 2017 #3 I will take a look on this.. however I am using USB barcode Scanner either and I am not sure SPP runs on USB ? Upvote 0
I will take a look on this.. however I am using USB barcode Scanner either and I am not sure SPP runs on USB ?
fixit30 Active Member Licensed User Longtime User Jul 30, 2017 #4 Sorry, the thread title said Bluetooth. You will need to check the documentation of your USB device, but I would of thought that it could be configured for Serial comms instead of keyboard emulation. Upvote 0
Sorry, the thread title said Bluetooth. You will need to check the documentation of your USB device, but I would of thought that it could be configured for Serial comms instead of keyboard emulation.