how to make a call to specific phone number

Discussion in 'iOS Programming' started by ducnm, Oct 14, 2008.

  1. ducnm macrumors newbie

    Joined:
    Sep 21, 2008
    #1
    who can help me?
    how to make a call to specific phone number?
    how does Simular work when I make a call to specific phone number?

    thanks alot
     
  2. TripleJ macrumors regular

    Joined:
    Jul 30, 2008
    #2
    as far as I know, you basically use the same method as when you create a http link, but instead of putting http you write 'tel'. Have a search in the forum, the same question has been asked a few times.
     
  3. ducnm thread starter macrumors newbie

    Joined:
    Sep 21, 2008
    #3
    I want to know how Simular work when I create a phone call. It will display 2 Simulars or what?

    And what's the indication when we have a call to my phone. (sign to identify when hava a call)

    sorry, my english isn't good :)
     
  4. firewood macrumors 604

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #4
    The Simulator does not include a phone application (although I suppose you could write one to handle the URL).
     
  5. ducnm thread starter macrumors newbie

    Joined:
    Sep 21, 2008
    #5
    That's too badly. What will we do when we want to debug the code that relate with phone function, ex dial, reject, auto answer
     
  6. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #6
    Have Xcode install the app on an iPhone. Apple and your users will appreciate you actually testing it on the device it's intended to run on.
     
  7. drivefast macrumors regular

    Joined:
    Mar 13, 2008
    #7
    unfortunately, nothing. the sdk doesn't expose the functionality that you seem to need. the tel: url, as suggested above, will only launch the phone application on a (real) iphone, and at that point your application will forcefully terminate.
     
  8. ducnm thread starter macrumors newbie

    Joined:
    Sep 21, 2008
    #8
    my plan was canceled. I'm interested in the functions relate with phone features. I studied to create a program like a part of iBlackList but it's too difficult.
    You can see iBlackList at http://www.iblacklist.com.br/
     

Share This Page