Thanks Marco for your quick reply.  I used LISTEN_DATA_ACTIVITY so
when call starts and both side start communication then data should be
transfer and i can know that the call is active now. Please make me
correct if i am wrong.  if this is not proper way then can you tell me
any other way or work around to know when the call becomes active or
it is being picked up by other side or not.

On Jul 6, 8:42 pm, Marco Nelissen <marc...@android.com> wrote:
> On Mon, Jul 6, 2009 at 6:00 AM, Honest<honestsucc...@gmail.com> wrote:
>
> > My application is making call. I need to be notified when that call is
> > being pickeed up by other side. So i used TelephonyManager and
> > PhoneStateListner as below. Basically i wanted to know data activity
> > status.
>
> > my code is as below.
>
> > public void register()
> >    {
> >        TelephonyManager tm=(TelephonyManager)getSystemService
> > (TELEPHONY_SERVICE);
> >        tm.listen(new CallState(this),
> > PhoneStateListener.LISTEN_CALL_STATE|
> > PhoneStateListener.LISTEN_DATA_ACTIVITY);
>
> LISTEN_DATA_ACTIVITY will inform you of changes to data traffic, and
> has nothing to do with voice calls.
> I don't think you can actually find out if the other side picked up
> the phone or not.
--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to