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
android bluetooth speech-recognition


source to share


No one has answered this question yet

See similar questions:

22
Using Android RecognizerIntent with Bluetooth Headset

or similar:

3606
Close / hide Android soft keyboard
3295
Why is the Android emulator so slow? How can we speed up the development of an Android emulator?
3288
Correct use cases for Android UserManager.isUserAGoat ()?
2609
Is there a unique identifier for an Android device?
2510
How to persist android activity state by persisting instance state?
1207
Strange memory issue when loading image into Bitmap object
1111
Is abandoning the application incredulous?
1002
Grid motion detection
690
"cannot resolve R character" in Android Studio
22
Using Android RecognizerIntent with Bluetooth Headset



All Articles
Loading...
X
Show
Funny
Dev
Pics