This is a very small and quick project.
I have this free app on Play Store : [url removed, login to view]?t=W251bGwsMSwxLDEsImNvbS5tZWdhbG9naWNhLmFzc2lzdGVudGViciJd
Basiclly it is a "like siri" in Brazilian Portuguese (pt-BR) , it is not very well programmed but it is working. Now i want that the user can use the app with bluetooth headset. The problem (at least for me, i know there is an API for bluetooth voice recognition on level 11) is that i want it to work in android 2.3 and up.
When the user starts the app it has to detect if there is a bluetooth headset connected and if is than works over bluetooth headset.
If the user connect OR disconnect the headset with the app opened then it has to switch the voice recognition also(listeners)
When the user closes the app the volume and others fone configs must be equal as when before the user enter the app
I will send all the project code to be changed, and off course has to remain confidential.