方式一:引用
进入QQ聊天
String url = "mqqwpa://im/chat?chat_type=wpa&uin=" + qq;
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
//- 个人介绍界面
String url = "mqqapi://card/show_pslcard?src_type=internal&version=1&uin=" + qq
+ "&card_type=person&source=qrcode";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
//- QQ公众号
String url="mqq://im/chat?chat_type=crm&uin="+qq;
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
//- QQ群介绍界面
String url = "mqqapi://card/show_pslcard?src_type=internal&version=1&uin=" + qqnum
+ "&card_type=group&source=qrcode";
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));