首页 > 代码库 > QQ客服代码移动版
QQ客服代码移动版
mqqwpa://im/chat?chat_type=wpa&uin=910521727&version=1&src_type=web&web_src=http://www.mamicode.com/qq.com
mqqwpa://im/chat?chat_type=wpa&uin=910521727&version=1,
是的,你也许见过强行聊天的代码:
tencent://Message/?Uin=910521727&websiteName=www.qq.com&Menu=yes |
但是你应该不知道,还有强行加好友的代码:
tencent://AddContact/?fromId=45&fromSubId=1&subcmd=all&uin=910521727&fuin=938065079&website=www.qq.com |
Android:
String url="mqqwpa://im/chat?chat_type=wpa&uin=501863587"; 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=501863587&version=1&src_type=web"]; NSURLRequest *request = [NSURLRequest requestWithURL:url]; webView.delegate = self; [webView loadRequest:request]; [self.view addSubview:webView];
QQ客服代码移动版
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。