On Mon, Jul 6, 2009 at 6:00 AM, Honest<[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to