浏览器
<a href="http://wpa.qq.com/msgrd?v=3&uin=QQ号码&site=qq&menu=yes ">QQ对话</a>
Android:
String url=“mqqwpa://im/chat?chat_type=wpa&uin=11111111”; startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
iOS:
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectZero]; NSURL *url = [NSURL URLWithString:@“mqq://im/chat?chat_type=wpa&uin=11111111&version=1&src_type=web”]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; webView.delegate = self; [webView loadRequest:request]; [self.view addSubview:webView];
1