Hi martin
I made a flow that turn on speaker during phone call when the device is away from ears...
My device is samsung galaxy core (android 4.1.2)
Trigger→1. proximity sensor > 5.0 cm 2. Incomming call=all (ringing)
Condition→proximity sensor > 5.0 cm
Action→set speakerphone state=on
But it is not working
Similarly I made for speakerphone state off when proximity < 5.0 , that is also not working....
Speaker on
Moderator: Martin
Re: Speaker on
You need two flows for this to work.
FLOW1
Trigger: incoming call (ringing and ended)
Condition: call state(off hook, ringing)
>true: action: set flow state, enable flow2
>false: action: set flow state, disable flow2
FLOW2
Trigger: proximity sensor, >5cm
Action: set speakerphone state, on
FLOW1
Trigger: incoming call (ringing and ended)
Condition: call state(off hook, ringing)
>true: action: set flow state, enable flow2
>false: action: set flow state, disable flow2
FLOW2
Trigger: proximity sensor, >5cm
Action: set speakerphone state, on