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

Android 应用代码 - 使用 Lua 实现一键加群功能

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

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