I am working on an application in which I have implemented speech recognition from bluetooth headset. It is working fine with single activity, but in my app there are 10 different activities and I want to create a singleton class of bluetooth connection which work in a whole application without losing connection.
I used implementation from Using the Android RecognizerIntent with a bluetooth headset