Android Question Get Call Duration while call is active

persianpowerman1

Active Member
Licensed User
Longtime User
hey guys...
im trying to get the call duration... (means present call timing in mins/secs)... while the call is presently active...

please see the image i have attached...
i need it for ONLY outgoing calls... so i could get a ToastMessageShow every 30secs... or may be a vibration...
any ideas?? how to access that timing?

thanx,
YO!han
 

Attachments

  • forB4A.png
    forB4A.png
    57.8 KB · Views: 258

lemonisdead

Well-Known Member
Licensed User
Longtime User
Upvote 0

persianpowerman1

Active Member
Licensed User
Longtime User
Got your idea... however...
the timer starts when the call is answered(till then its 0:00)
so how do you think i could trap that event... when the call is answered by the opposite party?

cuz CALL_STATE_OFFHOOK doesnt distinguish between ...dialing & active... any ideas?

YO!han
its weird we dont have a tool for the above , when it is so obvious in all our calls.. !!!
 
Upvote 0
Top