Page 1 of 1

Auto speaker on-off

Posted: 11 Nov 2013 18:01
by Ankit
Hi martin,
I made a flow which automatically turn on the speaker when phone is away from the ear during a call and turn off the speaker when near the ear...
only turning off the speaker is working and it does not turn on the speaker...
Please help

Re: Auto speaker on-off

Posted: 11 Nov 2013 20:22
by Martin
Hi,

Please post the flow so that I can check.
What device model and Android version are you using?

Regards,
Martin

Re: Auto speaker on-off

Posted: 12 Nov 2013 02:56
by Ankit
Hi martin,
exported_data_20131112_114023.xml
(2.29 KiB) Downloaded 965 times
exported_data_20131112_114030.xml
(2.29 KiB) Downloaded 931 times
my device is Samsung galaxy core
android version is 4.1.2

Re: Auto speaker on-off

Posted: 12 Nov 2013 11:36
by MURTUMA
Your problem is that both flows' triggers are conflicting with each others. When you put multiple triggers in one flow, they always follow OR logic with no exceptions.

You should remove both call state triggers from both flows and instead create a third flow to enable the first and second flow during calls.

I'm not sure if I can tell it clear enough so here's fixed set of your flows: http://automagic4android.com/flow.php?i ... a00ab84234

Also, enable only flow3, keep the other two disabled.