Android Question Initiate a phone call and turn the speaker on - for Android 10+

PhilipK

Member
Licensed User
Longtime User
Hi

I am attempting to code the process of making a phone call and turning the 'hands-free' speaker on. I have tried the suggestions from a thread around 2017 and found that they won't work on Android 9/10 and beyond. It appears the Audio Manager uses a different/new method of 'set route' to switch the direction of the sound output. Does anyone have a routine/library which works on later Android versions?
 

amer bashar

Member
Licensed User
Hi

I am attempting to code the process of making a phone call and turning the 'hands-free' speaker on. I have tried the suggestions from a thread around 2017 and found that they won't work on Android 9/10 and beyond. It appears the Audio Manager uses a different/new method of 'set route' to switch the direction of the sound output. Does anyone have a routine/library which works on later Android versions?
did you find any solution ?
 
Upvote 0
Top