0

Is there any way to calculate call duration length in Android? I understand that "the duration from HOOK_OFF to IDLE can be calculated while outgoing call" or "the duration from RINGING to IDLE can be calculated while incoming call". But I need the talk time for a call, so that I can calculate the cost of that call.

I already went through link1 and link2.

Community
  • 1
  • 1
Vedsar Kushwaha
  • 313
  • 2
  • 11
  • Yes. Android system store duration in ~Contact table or similar table. For you to get current call time you need to have you own counter. and its possible. – silentsudo Jan 24 '16 at 16:54
  • can you further explain "need to have you own counter" part? What counter I need to put? – Vedsar Kushwaha Jan 24 '16 at 17:27

0 Answers0