Page 1 of 1

Speaker on

Posted: 18 Nov 2013 14:07
by Ankit
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....

Re: Speaker on

Posted: 18 Nov 2013 16:08
by MURTUMA
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