Auto speaker on-off

Post your questions and help other users.

Moderator: Martin

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

Auto speaker on-off

Post by Ankit » 11 Nov 2013 18:01

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Auto speaker on-off

Post by Martin » 11 Nov 2013 20:22

Hi,

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

Regards,
Martin

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

Re: Auto speaker on-off

Post by Ankit » 12 Nov 2013 02:56

Hi martin,
exported_data_20131112_114023.xml
(2.29 KiB) Downloaded 914 times
exported_data_20131112_114030.xml
(2.29 KiB) Downloaded 886 times
my device is Samsung galaxy core
android version is 4.1.2

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

Re: Auto speaker on-off

Post by MURTUMA » 12 Nov 2013 11:36

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.

Post Reply