systemshare
syswxfriend syswxcircle systemshare
论坛示例
为帮助用户更快更好的使用模块,论坛维护了一个示例,示例中包含示例代码.
概述
模块要求 编译环境(打包环境) 和安装环境 均需要选择 Android 4.1 及以上系统版本
systemshare 是一款,分享图片给微信好友或者朋友圈.
可根据需求修改相关逻辑: 微信:liupan4018
syswxfriend
好友图片分享入口:
var param = {
imgUrl:"http://f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"};
systemshare.syswxfriend(param, function(ret, err){
});
}
param
类型 json
{
imgUrl:"http://f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"
}
imgUrl: //分享图片(不能为 null)- 必传字段
说明: imgUrl 支持 链接 图片为 jpg 或者 png或者 base64 格式
注意: base64格式 需要删除 <img src='data:img/jpg;base64, 以及尾部的 '/>
base64示例如下:
imgUrl: "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAVCUlEQVR42u1deZAcV3n/fa+759jZ2UvrXcnS6rQkWytsGVk2kkogG+I4hCM4oJSDwSSYhFAQu2ySmBACmFQoAgGbHKQSh4CB4rAxFLEr5jSxsB2MJdk6rMu6VsdqV+uVVztXX+/LHzPTMz3TPTvdPbuy5f22Zmf6m9f99Xzfe9/53mtCk7D5sc3q2b7sSltRBkny6yHpJiLqYS5+TwBKH+s+o3Tsh6+FRtcK+nkq2o3uKRRtAsA8DsHfZtBWyfbuvtHU/l9e+0urGT7TVA1W71o3IFT1ZjDeyYxBEaM4AEiDAWbMgjdXRUygxCedCHtAeFBa1jd3v+Y3x0MJZMGT65M93bgdwO0iRn1sMthigIu9gDxk0Sp8IziftEPdEwBSCaQRpMGjAO4ZP4t7Tmx4Kt+0QC599uoVMY3uo4SyiXUJttlXmjyN+Kl6Ek8zHi2mQQqB4gJcsLcaJt+6b83TB6YUyKXbrlkbS9L3odEiLsg6neqne9lHB6MBrq5H+dyYFx0/XO29oOaep4P2VEyt/e2UEJA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MhAAEgSY2Momrsdbctu8zL83fA9JdKZvJ+B2xKgPFhd3QpoNHoM7WErRtYXBowzcg4nJe7AFeb/mjeHHyQFAvZnA7wTTILSSMjNnhdNQCOWlkiZ0EO9h0IOA9U38dv74VKc2B49Bhd6+EoTVYGwC4yai2SyxF0eZeRyEb4OwFYzdiGf249rm8iD/DxLPlw19ZMenAAAAAElFTkSuQmCC"
callback(ret)
无返回值
示例代码
var param = {
imgUrl:"http://f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"};
systemshare.syswxfriend(param, function(ret, err){
});
}
可用性
Android 系统 4.1 及以上系统
syswxcircle
发图片到朋友圈分享入口:
var param = {
imgUrl:"http://f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"
};
systemshare.syswxcircle(param, function(ret, err){});
param
类型 json
{
imgUrl:"http:// f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"
}
imgUrl: //分享图片(不能为 null)- 必传字段
说明: imgUrl 支持 链接 图片为 jpg 或者 png或者 base64 格式
注意: base64格式 需要删除 <img src='data:img/jpg;base64, 以及尾部的 '/>
base64示例如下:
imgUrl: "iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAVCUlEQVR42u1deZAcV3n/fa+759jZ2UvrXcnS6rQkWytsGVk2kkogG+I4hCM4oJSDwSSYhFAQu2ySmBACmFQoAgGbHKQSh4CB4rAxFLEr5jSxsB2MJdk6rMu6VsdqV+uVVztXX+/LHzPTMz3TPTvdPbuy5f22Zmf6m9f99Xzfe9/53mtCk7D5sc3q2b7sSltRBkny6yHpJiLqYS5+TwBKH+s+o3Tsh6+FRtcK+nkq2o3uKRRtAsA8DsHfZtBWyfbuvtHU/l9e+0urGT7TVA1W71o3IFT1ZjDeyYxBEaM4AEiDAWbMgjdXRUygxCedCHtAeFBa1jd3v+Y3x0MJZMGT65M93bgdwO0iRn1sMth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TRUjlR0OS9yPMTiKG0jI1L01S4NCuicgy48eXjYhv3eRW817SXWhpwXTsYbQSgzaFo1+KD0eZ62jEAeX4C1uS91WOpAo92XEKEn0PlhTBmjfq0QgyATUMs8UbccO4FOL5cNdxw7gU2rRth4xjiszybNogDsHGMDevGamHUCwQA3pLbxiauh4mtSBAgZvnXMhAAEgSY2Momrsdbctu8zL83fA9JdKZvJ+B2xKgPFhd3QpoNHoM7WErRtYXBowzcg4nJe7AFeb/mjeHHyQFAvZnA7wTTILSSMjNnhdNQCOWlkiZ0EO9h0IOA9U38dv74VKc2B49Bhd6+EoTVYGwC4yai2SyxF0eZeRyEb4OwFYzdiGf249rm8iD/DxLPlw19ZMenAAAAAElFTkSuQmCC"
callback(ret)
无返回值
示例代码
var param = {
imgUrl:"http://f.hiphotos.baidu.com/image/pic/item/09fa513d269759ee50f1971ab6fb43166c22dfba.jpg"
};
systemshare.syswxcircle(param, function(ret, err){});
可用性
Android 系统 4.1 及以上系统
systemshare
调用手机自带系统分享入口:
var param = {
title:"",
url:"www.baidu.com"};
systemshare.systemshare(param, function(ret, err){
});
param
类型 json
{
title:"分享",
url:"www.baidu.com"
}
title : 分享出去的 文本
url: 分享出去的点击跳转落地页
分享给好友的示例: 分享www.baidu.com
callback(ret)
无返回值
示例代码
var param = {
title:"",
url:"www.baidu.com"};
systemshare.systemshare(param, function(ret, err){
});
可用性
Android 系统 4.1 及以上系统