web打开qq应用添加好友

793 阅读1分钟
<a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=qq">896766857</a>

String url = "mqqwpa://im/chat?chat_type=crm&uin=938034022&version=1&src_type=web&web_src=http:://wpa.b.qq.com";
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));