I have a fairly simple android app, which uses a bluetooth barcode scanner connected to it.
The problem I'm having, is that whenever the bluetooth scanner connects or disconnects from the android device (as it does when it goes to sleep/wakes up), it causes the onCreate method of the active window/layout to be called.
Is there some way I can stop this?