[Solved] Calling a number in an array


you need to write service to check if current call is ended or not.
after disconnection of one call you can dial next number from your array in onRecieve method of BroadcastReceiver.

code to check call is disconnected or not.

     switch(state) {
        case TelephonyManager.CALL_STATE_IDLE:
                Log.d("Call","Outgoing Call finished");
        break;
        case TelephonyManager.CALL_STATE_OFFHOOK:
                Log.d("Call","Outgoing Call Starting");
        break;
    }

solved Calling a number in an array