Speaker on

Post your questions and help other users.

Moderator: Martin

Post Reply
Ankit
Posts: 143
Joined: 11 Nov 2013 17:27

Speaker on

Post by Ankit » 18 Nov 2013 14:07

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....

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Speaker on

Post by MURTUMA » 18 Nov 2013 16:08

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

Post Reply