function onMenuItemClick(title) if title == '加群' then import 'android.content.Intent' import 'android.net.Uri' local groupId = '12345678' local intent = Intent(Intent.ACTION_VIEW, Uri.parse('mqqapi://card/show_pslcard?src_type=internal&version=1&uin='..groupId..'&card_type=group&source=qrcode')) activity.startActivity(intent) end end

Android Lua 代码:使用 Intent 打开 QQ 群

原文地址: https://www.cveoy.top/t/topic/mVNG 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录