其他分享
首页 > 其他分享> > QQ Scheme跳转接口

QQ Scheme跳转接口

作者:互联网

转账给qq好友

app.startActivity({

    action: "android.intent.action.VIEW",

data:"mqqapi://forward/url?url_prefix="+"aHR0cHM6Ly9tcXEudGVucGF5LmNvbS92Mi9oeWJyaWQvd3d3L21vYmlsZV9xcS9wYXltZW50L2luZGV4LnNodG1sP193dj0xMDI3JmZyb209MTMmX3Zh"+"'&'version=1'&'src_type=web",

paageName: "com.tencent.mobileqq",

});

打开qq个人消息页面

app.startActivity({

    action: "android.intent.action.VIEW",

    data:"mqqapi://card/show_pslcard?src_type=internal&version=1&uin=1520136098",

    packageName: "com.tencent.mobileqq",

});

打开指定qq聊天窗口

app.startActivity({

    action: "android.intent.action.VIEW",

    data:"mqq://im/chat?chat_type=wpa&version=1&src_type=web&uin=" + "11802Q号",

    packageName: "com.tencent.mobileqq",

});

标签:QQ,startActivity,mobileqq,app,tencent,跳转,action,Scheme,type
来源: https://blog.csdn.net/yunsong233/article/details/121583628