iPhone SDK: Phone Functions

Discussion in 'Mac Programming' started by psalesses, Jun 11, 2008.

  1. macrumors newbie

    May 10, 2005
    I have a few simple questions about an application I'm trying to build. Please don't tell me that the phone already does it, because those won't help.

    When a phone call is in progress...
    is there anyway to play a sound file to the caller on the other line?
    can I add a button to mute my voice to the caller?
    can I access the phone's code and end the call?
  2. macrumors member

    Feb 17, 2008
    I'm rather certain none of those are possible. When you think iPhone applications, think independent programs in isolation. This isn't Android.
  3. macrumors regular

    Mar 13, 2008
    no, no and no :(

    while a call is in progress, you may press the home button and start another application. however, this application cannot use the microphone and cannot play sounds - the hardware is dedicated to the phone app. i dont know how the sound stream goes from the microphone hardware to the gsm encoder, but i highly doubt there is a way to interpose your application in between and have your stream delivered - at least i'm sure apple will not accept that. muting and unmuting is almost the same, except that you break the stream flow instead of connecting your stream flow.

    as far as i know there is no "hook" in the phone application that you could use to be notified that the call is over. however, from the OS' safety perspective, this *could* be a feature that apple may provide if there is enough request for it.

Share This Page