+ Reply
Results 1 to 3 of 3

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: dial iphone programmatically

is a discussion within the

iPhone / iPod Touch SDK | Development Discussion

forums, a part of the

3rd Party Apps For iPhone | iPod Touch

section;
my first post here. hello, world. i'm writing an iphone app that needs to dial the phone. i'm able to pull numbers from the address book, but i can't figure
...
  1. #1
    What's Jailbreak?
    Join Date
    Jul 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default dial iphone programmatically
    my first post here. hello, world.

    i'm writing an iphone app that needs to dial the phone. i'm able to pull numbers from the address book, but i can't figure out how to dial them. i must just be missing something! any help greatly appreciated!

    thanks!

  2. #2
    What's Jailbreak?
    Join Date
    Dec 2007
    Location
    Miami, Fl
    Posts
    14
    Thanks
    2
    Thanked 1 Time in 1 Post
    maybe use a weblink? tel:1112223333,44 the , for pause

  3. #3
    Developer NetMage's Avatar
    Join Date
    Aug 2007
    Location
    Virginia
    Posts
    1,296
    Thanks
    72
    Thanked 210 Times in 168 Posts

    Unfortunately weblink's are limited in the (undocumented) syntax they will handle (e.g. no asterisk or pound) but it will work - use openURL to execute.

    Note that your program will stop when this happens and restart once the call completes so save your state and restore on restart.
    Starlight Computer Wizardry
    Pocket-sized Development
    Follow me on twitter: @NetMage

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts