How to keep a bluetooth headset connection in android

I am working on an application where I have implemented speech recognition from a bluetooth headset. It works fine with one activity, but my application has 10 different activities and I want to create a single user bluetooth connection class that works in the whole application without losing connection.

I used the implementation from Using Android RecognizerIntent with a bluetooth headset

+3


source to share





All Articles