call state

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Re: call state

Post by colabi » 18 Oct 2013 10:37

Hi Martin
I found this: https://play.google.com/store/apps/deta ... vibrate250 - Vibrate Call
I think is the most simplest and lightest for this action
Maybe you could inspire to add this function
Thanks

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

Re: call state

Post by Martin » 18 Oct 2013 14:22

Hi,

Thanks for the link.
Unfortunately this app seems to rely on the system log printing a distinct text when the outgoing call is answered.
This method is too fragile and probably only works on phones of some manufacturers. Additionally reading the system log requires root on Android 4.1+.

Regards,
Martin

colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Re: call state

Post by colabi » 12 Feb 2014 21:42

Again...

I don't know if this is the proper approach or if is working on other devices

Trigger: Comand Output
Command: logcat -b radio
as root
contain text: ACTIVE
>
Action: vibrate

The phone vibrate when outgoing call is answered
LG P970 stock Android 4.0.4

tonick
Posts: 4
Joined: 14 May 2013 18:01

Re: call state

Post by tonick » 14 Feb 2014 16:32

colabi wrote:Again...

I don't know if this is the proper approach or if is working on other devices

Trigger: Comand Output
Command: logcat -b radio
as root
contain text: ACTIVE
>
Action: vibrate

The phone vibrate when outgoing call is answered
LG P970 stock Android 4.0.4
works fine on 2.3.6. Tell me how to do even when outgoing call is ended

colabi
Posts: 134
Joined: 06 Jan 2013 22:33

Re: call state

Post by colabi » 14 Feb 2014 17:18

try to change ACTIVE with DISCONNECTING

tonick
Posts: 4
Joined: 14 May 2013 18:01

Re: call state

Post by tonick » 14 Feb 2014 19:42

colabi wrote:try to change ACTIVE with DISCONNECTING
thank you very much, everything works

Locked