使用schema模式来启动手机QQ。
以下为具体代码:
Android:
String url="mqqwpa://im/chat?chat_type=wpa&uin=1141712240";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));iOS:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"mqq://im/chat?chat_type=wpa&uin=1141712240&version=1&src_type=web"]]
6万+



被折叠的 条评论
为什么被折叠?



