【iapp教程】直接调用QQ发送图片-凌晨学院 |
|
凌晨初夏
L3
• 2022-07-25 • 回复 3 • 只看楼主
• 举报
|
sit(a, "action", "android.intent.action.SEND")
sit(a, "type", "image/jpeg")
sit(a,"classname","com.tencent.mobileqq", "com.tencent.mobileqq.activity.JumpActivity")
sit(a, "extra", "android.intent.extra.STREAM","/sdcard/lunbo.png")
//以上为图片路径。
uit(a, "chooser", "分享图片")
//此代码将直接调用QQ发图片,无需选择。
sit(a, "type", "image/jpeg")
sit(a,"classname","com.tencent.mobileqq", "com.tencent.mobileqq.activity.JumpActivity")
sit(a, "extra", "android.intent.extra.STREAM","/sdcard/lunbo.png")
//以上为图片路径。
uit(a, "chooser", "分享图片")
//此代码将直接调用QQ发图片,无需选择。