Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TheGame!

macrumors newbie
Original poster
Nov 18, 2008
2
0
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..
 

dipaliP

macrumors newbie
Oct 6, 2008
28
0
Go through documentation

Check openURL method of UIApplication.:)

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

robbieduncan

Moderator emeritus
Jul 24, 2002
25,611
893
Harrogate
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?

If you mean how can you get access to the users calls/messages/email then basically you can't.
 

TheGame!

macrumors newbie
Original poster
Nov 18, 2008
2
0
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..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.