HELP - Tracking down - Email, Call and SMS ??

Discussion in 'iPhone/iPad Programming' started by TheGame!, Nov 18, 2008.

  1. macrumors newbie

    Joined:
    Nov 18, 2008
    #1
    Hi Guys,

    I am developing iphone app that has information to launch mail, call and sms.. so i think im going to use all of this link,
    email - "mailto:"
    call - "tel:"
    sms - "sms:"

    So all of this link will redirect to navitve app in iphone, the problem I have is how am I going to track down all of this 3 communication (email, call and sms) in my app ?? and save all data from my database for history/reports purposes?

    Do you have any idea how this kind of functionality in iphone SDK??

    I really need your help .. Thanks in advance..
     
  2. macrumors newbie

    Joined:
    Oct 6, 2008
    #2
    Go through documentation

    Check openURL method of UIApplication.:)

    NSString *tel = [NSString stringWithFormat:mad:"%@%@", @"tel://", telePhoneNum];
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:tel]];
     
  3. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #3
    If you mean how can you get access to the users calls/messages/email then basically you can't.
     
  4. thread starter macrumors newbie

    Joined:
    Nov 18, 2008
    #4
    Thanks for the reply guys.. I noticed on iphone os device i found sqlite databases of call history and sms. but with the mail I cant seem to locate it. so i think the only problem right now is how am i going to get the mail database? im confused with the folders in the iphone , there's yahoo, gmail etc..


    Thanks for the help guys..
     

Share This Page