# UMSocialAne **Repository Path**: l1fan/UMSocialAne ## Basic Information - **Project Name**: UMSocialAne - **Description**: UMeng Socail SDK Ane封装 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2013-10-16 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #UMSocialAne ###AndroidManifest.xml中添加以下权限 ###AndroidManifest.xml中添加以下组件 >UMENG_APPKEY 需要修改到网站上申请,并在下面组件中修改 代码调用 --- import com.mxfan.umsocial.ane.UMController; import com.mxfan.umsocial.ane.UMShare; protected function onShareClick(event:MouseEvent):void { var controller:UMController = new UMController(); var umShare:UMShare = new UMShare(); umShare.image = "/mnt/sdcard/logo_temp.png"; umShare.content = "from内容分享"; umShare.wxAppID = "xxxx"; umShare.wxContentUrl ="http://www.umeng.com" controller.openShare(umShare); } 1.image: 分享的图片路径,可以是本地路径也可以是网络URL(必须以http开头) 2.content:分享的文字内容 3.wxAppID:应用在微信平台注册的ID,必须填写,否则无法分享微信 4.wxContentUrl:微信、QQ空间等分享内容跳转的URL地址