Monday, June 7, 2010

[android-developers] Call start time

I need to know the time of calls start.
I have extended PhoneStateListener and done this:

public void onCallStateChanged (int state, String incomingNumber){
if(state==TelephonyManager.CALL_STATE_OFFHOOK)
start=System.currentTimeMillis();
}

But this gets the time of when I push the call button, while I need
the time of when the other phone answers.
Is there a way to do that?
Thanks
Simone

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment