详见:
http://dev.firnow.com/course/3_program/c++/cppjs/20100308/196949.html
http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
NSString* str = [NSString stringWithFormat:@"launchme://8004664411"];
NSURL* url = [NSURL URLWithString:str];
[[UIApplication sharedApplication] openURL:url];
dlqpfive的程序:
1.information Property List
2.URL types
3.URL Schemes
4.设置 dlqpfive
调用dlqphall的程序
NSString* str = [NSString stringWithFormat:@"dlqphall://dlqphall"];
NSURL* url = [NSURL URLWithString:str];
BOOL b = [[UIApplication sharedApplication] openURL:url];
dlqphall的程序:
1.information Property List
2.URL types
3.URL Schemes
4.设置 dlqphall
调用dlqpfive的程序
NSString* str = [NSString stringWithFormat:@"dlqpfive://dlqpfive"];
NSURL* url = [NSURL URLWithString:str];
BOOL b = [[UIApplication sharedApplication] openURL:url];
launchme是iphone的一个例子