call state

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

Moderator: Martin

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

call state

Post by tonick » 14 May 2013 18:18

Please add a option in trigger call state Outgoing call answered and Incoming call answered.

for example, alert (vibrate or sound) when Outgoing call is answered, as is done in Vibralert Pro (https://play.google.com/store/apps/deta ... QucHJvIl0.)

plm
Posts: 19
Joined: 06 May 2013 22:27

Re: call state

Post by plm » 16 May 2013 08:45

The method is already there, if I have correctly understood your needs...

Trigger: Outgoing Call (or Incoming Call) - Phone State= Off-hook
Action: Vibrate
This flow make the cell vibrate when you push the button to call (or answer an incoming call)

Trigger: Outgoing Call (or Incoming Call) - Phone State= Ended
Action: Vibrate
This flow make the cell vibrate when you terminate the outgoing or incoming call

Hope this help you.

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

Re: call state

Post by colabi » 16 May 2013 10:20

I requested this too, long time ago.

"is already there" - no, is not: the trigger
must detect when outgoing call is ANSWERED
(vibrate when the persson you call answer)

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

Re: call state

Post by tonick » 16 May 2013 10:35

I need to vibration has been triggered at the moment when the person answers the call, but not when I press the call button.
Sorry for my English (Google translator)
in the program "Vibralert" it works correctly

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

Re: call state

Post by colabi » 16 May 2013 12:16

Yes, correct.
Must be:
Outgoing Call
- Off-hook
- Answered
- Ended

breeze
Posts: 7
Joined: 17 May 2013 06:18

Re: call state

Post by breeze » 17 May 2013 06:25

me too need option "Answered" in trigger "Outgoing Call"
Sorry for my English (Google translator)

plm
Posts: 19
Joined: 06 May 2013 22:27

Re: call state

Post by plm » 17 May 2013 22:37

It would be interesting to know how VibrAlert realizes the function ... besides requiring a root cell.
Android does not natively support the state "Answered":
See http://developer.android.com/reference/ ... nager.html

inReinbek
Posts: 95
Joined: 02 Feb 2013 22:04

Re: call state

Post by inReinbek » 23 May 2013 09:19

Hi all !

There's no chance to get an information about an outgoing-call will be answered or not - there's no support by the network to inform your android, if the state is "connection" or just an "unanswered outgoing call".

Technical description:
The network is able to detect the state by itself and cancels a "try to connect" if the call will be unanswered. The "try to connect is positive" (= call is answered) will be processed by setting up a cell-voice-connection ... the "try-to-connect" is a smaller part of cell-connection than a voice-connection.

Hope you're be able to "uncrypt" my bad english :mrgreen:

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

Re: call state

Post by colabi » 09 Aug 2013 01:03

Hi Martin

I found this file in my LG P970 (maybe is usefull):

/data/data/com.lge.launcher2/shared_prefs/incallbubble.history.xml

when the call state is idle the content of file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<long name="Current Time" value="0" />
<string name="Current State">IDLE</string>
<null name="Current CallerID" />
</map>

when the call state is ringing the content of file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="Current State">ALERTING</string>
<long name="Current Time" value="82611466" />
<string name="Current CallerID">xxx</string>
</map>

when the call state is answered the content of file is:
<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<map>
<string name="Current State">ACTIVE</string>
<long name="Current Time" value="82531546" />
<string name="Current CallerID">xxx</string>
</map>

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

Re: call state

Post by MURTUMA » 09 Aug 2013 05:14

That would be only useful in LG phones featuring the same home launcher.

Which reminds me, I'll check if there's such thing in SGS+.

Edit: Neither the original Touch Wiz or Smart Launcher has that written in anywhere in their files.

Locked