iApp直接调用QQ分享图片以及保存图片到QQ收藏

1.直接调用QQ分享图片

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", "分享图片")

2.保存图片到QQ收藏

sit(a, "action", "android.intent.action.SEND")
sit(a, "type", "image/jpeg")
sit(a,"classname","com.tencent.mobileqq", "cooperation.qqfav.widget.QfavJumpActivity")
sit(a, "extra", "android.intent.extra.STREAM","/sdcard/lunbo.png")
uit(a, "chooser", "收藏图片")

你可能感兴趣的:(iApp直接调用QQ分享图片以及保存图片到QQ收藏)