How to turn on auto loudspeaker on call

grzego69

New member
Dec 30, 2013
4
0
0
Hi,
I know that Tasker/Automate does not work correctly with the OP5 dialer (Oxygen OS 5.0.2).
Are there any API for developers who can help turn on the speaker during a call?
Or maybe someone knows how to solve the problem with Tasker/Automate?
I want to try to write an application that will automatically answer the call and turn on the loudspeaker.
It can be very useful in the car.

Regards,
Adam
 

RogerF81

Senior Member
Oct 14, 2015
1,936
1,388
143
Mannheim
Hi,
I know that Tasker/Automate does not work correctly with the OP5 dialer (Oxygen OS 5.0.2).
Are there any API for developers who can help turn on the speaker during a call?
Or maybe someone knows how to solve the problem with Tasker/Automate?
I want to try to write an application that will automatically answer the call and turn on the loudspeaker.
It can be very useful in the car.

Regards,
Adam
In the latest Open Beta, this is already possible. You have to activate "Game mode" in settings, and at least if any app is running in the foreground which you have selected, the call will be redirected to the speaker.
 
  • Like
Reactions: grzego69

grzego69

New member
Dec 30, 2013
4
0
0
In the latest Open Beta, this is already possible. You have to activate "Game mode" in settings, and at least if any app is running in the foreground which you have selected, the call will be redirected to the speaker.
Thanks, it works :) But that's only half of the solution, because redirection to the speaker is only for incoming calls.
I need to turn on the loudspeaker automatically for incoming and outgoing calls.
I want to write hands-free application for drivers.

I found another problem yesterday. I need to detect when an outgoing call is not answered (e.g. call was rejected).
Any idea?

---- edit ----
It must be possible. The Google assistant, after the command "call with speaker to <contact>" automatically switches on the loudspeaker.
Does anyone know how to solve my problem?


...
 
Last edited: