Know when Outgoing Call has been answered or whatever state

by Mark Ellul » Thu, 10 Sep 2009 01:07:58 GMT

Sponsored Links

I am wondering if its possible to know when an outgoing call (made by
an Intent) has been answered?

If so, any pointers would be appreciated




Know when Outgoing Call has been answered or whatever state

by Roman ( T-Mobile USA) » Thu, 10 Sep 2009 03:48:23 GMT

 The current call states which you get on SDK level are

public static final int CALL_STATE_IDLE

Device call state: No activity.
Constant Value: 0 (0x00000000)
public static final int CALL_STATE_OFFHOOK

Device call state: Off-hook. At least one call exists that is dialing,
active, or on hold, and no calls are ringing or waiting.
Constant Value: 2 (0x00000002)
public static final int CALL_STATE_RINGING

Device call state: Ringing. A new call arrived and is ringing or
waiting. In the latter case, another call is already active.
Constant Value: 1 (0x00000001)
( )

It would be nice if the Android SDK could offer a better telephony

Roman Baumgaertner
Sr. SW Engineer-OSDC
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


Sponsored Links

Other Threads

1. Android 2.3.3 and NFC Modes

Hi all,

just exploring NFC, got a few tags from and now try
to discover as much as I can.

What "modes" are currently supported?

There are three modes the nfc forum defined:

- card emulation
- peer to peer
- card/tag reading/writing

The latter one is clearly supported, then peer to peer I believe has
limited support but what about card emulation? This is meant to
replace credit cards etc with your mobile device. What is needed to
support this mode and has anyone any details on how I would use it to
"fake" my real credit card for payment in case I would actually
discover some NFC payment terminal?



2. Android WhiteBox Testing

Hello Android Developers,
How do i go about with Whitebox testing of Android Application.
I am very new to Whitebox testing.
I have been so far doing Black box testing using Robotium and SL4A.
I believe that i know Robotium and SL4A to a better extent.
My moto here is to test the application that takes the backup of
contacts in the Android Device.
Now I have also gone through the White box testing techniques.

Please Suggest me an approach to perform Whitebox testing of Contacts
Backup Apps.(This is gonna be a Thrid party Application).

Thanks in Advance,


3. Downloading Videos using Service but facing problem with respect to Wifi Connection

4. Is SL4A a better tool to test android Applications

5. XOOM #Androiddev questions at the MOTODEV Office Hours March 16th 2pm Pacific

6. Android news today

7. 2 Android phones vs BB