• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Auto-Enable Loudspeaker On Incoming Calls

Hello Android forums people.

To make it quick, I have been trying to make an app when any device like phone is connected with Bluetooth . then i received the incoming call from anyone then loudspeaker is disabled .but when i am not connected any device from any Bluetooth or other device like that "earphone" then i received incoming call from anyone then loudspeaker is automatically enabled.
I have seen so many posts with different suggestions, but nothing really pinpointing in the right direction.

So.... any ideas on how I can overcome this?
 
Back
Top Bottom