How to get outgoing call duration in real time?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3959128/its-possible-to-get-outgoing-call-duration-during-call">It&#39;s possible to get outgoing call duration during call?</a>  </p>
</blockquote>



<p>I need to show real-time outgoing call duration. </p>

<p>But I do not know when I should start timer.</p>

<p>I must start when get answer from other side.
I tried TelephonyManager.EXTRA_STATE_OFFHOOK -- but it's state is when
I press call-button..</p>

<p>OFFHOOK is the state when call is placed.
So we should be notified when the call is received.</p>

<p>How can we get that? 
Can You help me? When I should start count outgoing time?</p>

<p>Thanks</p>

<p>upd..</p>

<p>I think this data produces mobile operator server. And this server return call-duration and current balance after each outgoing call .
Maybe It's right?</p>

<p>I can't find any solution, but after each call value of call duration will be stored in db. We can get it by CallLog.Calls.DURATION
How this value populate field in db?</p>
