This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Android and the fly likes How to get outgoing call duration in real time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "How to get outgoing call duration in real time?" Watch "How to get outgoing call duration in real time?" New topic
Author

How to get outgoing call duration in real time?

Vladimir Svydenko
Greenhorn

Joined: Jul 03, 2010
Posts: 4

Hi, guys!

Now I write one app and have some problem -
I need to show real-time outgoing call duration. But I do not know when I should start timer.
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..

OFFHOOK is the state when call is placed.

So we should be notified when the call is received.
How can we get that?

Can You help me? When I should start count outgoing time?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to get outgoing call duration in real time?
 
Similar Threads
How to get audio stream of the call?
Math Prob - Equation Rearrange
how to split the particular datas from group of datas
Calculating size-accordance between Main Panel & Child Panel.
Where is a good place to put application-wide properties files