├── app ├── .gitignore ├── src │ ├── images │ │ ├── 1.jpg │ │ ├── 2.jpg │ │ ├── 3.jpg │ │ ├── 4.png │ │ ├── 5.png │ │ └── 6.png │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── layout │ │ │ │ ├── app_shareadapter.xml │ │ │ │ ├── app_user.xml │ │ │ │ ├── activity_main.xml │ │ │ │ └── app_sharemenu.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── github │ │ │ │ └── leo │ │ │ │ └── umengshare │ │ │ │ ├── App.java │ │ │ │ ├── model │ │ │ │ └── Defaultcontent.java │ │ │ │ ├── adapter │ │ │ │ └── ShareAdapter.java │ │ │ │ ├── UserinfoActivity.java │ │ │ │ ├── MainActivity.java │ │ │ │ └── ShareMenuActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── leo │ │ │ └── umengshare │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── github │ │ └── leo │ │ └── umengshare │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── ushare ├── .gitignore ├── debug.keystore ├── libs │ ├── libammsdk.jar │ ├── mta-sdk-1.6.2.jar │ ├── umeng_social_api.jar │ ├── umeng_social_net.jar │ ├── SocialSDK_QQZone_3.jar │ ├── SocialSDK_WeiXin_2.jar │ ├── open_sdk_r5756_lite.jar │ └── umeng_social_view.jar ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── aa.jpg │ │ │ │ ├── datu.jpg │ │ │ │ ├── logo.png │ │ │ │ ├── qcode.jpg │ │ │ │ ├── umeng.jpg │ │ │ │ ├── dadadatu.jpg │ │ │ │ ├── shouquan.png │ │ │ │ ├── info_icon_1.png │ │ │ │ ├── umeng_app_icon.png │ │ │ │ ├── com_facebook_close.png │ │ │ │ ├── umeng_socialize_fav.png │ │ │ │ ├── umeng_socialize_qq.png │ │ │ │ ├── umeng_socialize_sms.png │ │ │ │ ├── umeng_socialize_tx.png │ │ │ │ ├── umeng_share_solid_icon.png │ │ │ │ ├── umeng_socialize_alipay.png │ │ │ │ ├── umeng_socialize_douban.png │ │ │ │ ├── umeng_socialize_flickr.png │ │ │ │ ├── umeng_socialize_gmail.png │ │ │ │ ├── umeng_socialize_google.png │ │ │ │ ├── umeng_socialize_kakao.png │ │ │ │ ├── umeng_socialize_line.png │ │ │ │ ├── umeng_socialize_more.png │ │ │ │ ├── umeng_socialize_pocket.png │ │ │ │ ├── umeng_socialize_qzone.png │ │ │ │ ├── umeng_socialize_renren.png │ │ │ │ ├── umeng_socialize_sina.png │ │ │ │ ├── umeng_socialize_tumblr.png │ │ │ │ ├── umeng_socialize_wechat.png │ │ │ │ ├── umeng_socialize_yixin.png │ │ │ │ ├── umeng_socialize_ynote.png │ │ │ │ ├── umeng_socialize_evernote.png │ │ │ │ ├── umeng_socialize_facebook.png │ │ │ │ ├── umeng_socialize_laiwang.png │ │ │ │ ├── umeng_socialize_linkedin.png │ │ │ │ ├── umeng_socialize_twitter.png │ │ │ │ ├── umeng_socialize_whatsapp.png │ │ │ │ ├── umeng_socialize_wxcircle.png │ │ │ │ ├── umeng_socialize_x_button.png │ │ │ │ ├── umeng_socialize_foursquare.png │ │ │ │ ├── umeng_socialize_instagram.png │ │ │ │ ├── umeng_socialize_pinterest.png │ │ │ │ ├── umeng_socialize_share_music.png │ │ │ │ ├── umeng_socialize_share_pic.png │ │ │ │ ├── umeng_socialize_share_video.png │ │ │ │ ├── umeng_socialize_yixin_circle.png │ │ │ │ ├── umeng_socialize_laiwang_dynamic.png │ │ │ │ ├── umeng_socialize_title_back_bt_normal.png │ │ │ │ ├── umeng_socialize_title_right_bt_normal.png │ │ │ │ ├── umeng_socialize_title_back_bt_selected.png │ │ │ │ ├── umeng_socialize_title_right_bt_selected.png │ │ │ │ ├── umeng_socialize_shareboard_item_background.xml │ │ │ │ ├── umeng_socialize_title_back_bt.xml │ │ │ │ ├── umeng_socialize_title_right_bt.xml │ │ │ │ └── umeng_socialize_window_shadow_pad.xml │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ ├── umeng_socialize_colors.xml │ │ │ │ ├── umeng_socialize_style.xml │ │ │ │ └── umeng_socialize_strings.xml │ │ │ ├── anim │ │ │ │ ├── umeng_socialize_shareboard_animation_out.xml │ │ │ │ ├── umeng_socialize_slide_out_from_bottom.xml │ │ │ │ ├── umeng_socialize_slide_in_from_bottom.xml │ │ │ │ ├── umeng_socialize_fade_in.xml │ │ │ │ ├── umeng_socialize_fade_out.xml │ │ │ │ └── umeng_socialize_shareboard_animation_in.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── layout │ │ │ │ ├── umeng_socialize_shareboard_item.xml │ │ │ │ ├── umeng_socialize_oauth_dialog.xml │ │ │ │ ├── umeng_socialize_titile_bar.xml │ │ │ │ └── umeng_socialize_post_share.xml │ │ │ └── layout-sw550dp-large │ │ │ │ ├── umeng_socialize_oauth_dialog.xml │ │ │ │ └── umeng_socialize_post_share.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── gosuncn │ │ │ │ └── core │ │ │ │ └── share │ │ │ │ ├── wxapi │ │ │ │ └── WXEntryActivity.java │ │ │ │ ├── ThirdPartyHelper.java │ │ │ │ └── ShareHelper.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── github │ │ │ └── hch │ │ │ └── share │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── github │ │ └── hch │ │ └── share │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── images ├── 1.png ├── 2.png ├── 3.png ├── 4.png ├── 5.png └── 6.png ├── settings.gradle ├── .idea ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── vcs.xml ├── runConfigurations.xml ├── compiler.xml ├── modules.xml ├── gradle.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── gradlew └── README.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /ushare/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/images/1.png -------------------------------------------------------------------------------- /images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/images/2.png -------------------------------------------------------------------------------- /images/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/images/3.png -------------------------------------------------------------------------------- /images/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/images/4.png -------------------------------------------------------------------------------- /images/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/images/5.png -------------------------------------------------------------------------------- /images/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/images/6.png -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':share', ':mylibrary1', ':share', ':ushare', ':mylibrary' 2 | -------------------------------------------------------------------------------- /app/src/images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/images/1.jpg -------------------------------------------------------------------------------- /app/src/images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/images/2.jpg -------------------------------------------------------------------------------- /app/src/images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/images/3.jpg -------------------------------------------------------------------------------- /app/src/images/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/images/4.png -------------------------------------------------------------------------------- /app/src/images/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/images/5.png -------------------------------------------------------------------------------- /app/src/images/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/images/6.png -------------------------------------------------------------------------------- /ushare/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/debug.keystore -------------------------------------------------------------------------------- /ushare/libs/libammsdk.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/libammsdk.jar -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /ushare/libs/mta-sdk-1.6.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/mta-sdk-1.6.2.jar -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | UmengShare 3 | 4 | 5 | -------------------------------------------------------------------------------- /ushare/libs/umeng_social_api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/umeng_social_api.jar -------------------------------------------------------------------------------- /ushare/libs/umeng_social_net.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/umeng_social_net.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ushare/libs/SocialSDK_QQZone_3.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/SocialSDK_QQZone_3.jar -------------------------------------------------------------------------------- /ushare/libs/SocialSDK_WeiXin_2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/SocialSDK_WeiXin_2.jar -------------------------------------------------------------------------------- /ushare/libs/open_sdk_r5756_lite.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/open_sdk_r5756_lite.jar -------------------------------------------------------------------------------- /ushare/libs/umeng_social_view.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/libs/umeng_social_view.jar -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/aa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/aa.jpg -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/datu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/datu.jpg -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/logo.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/qcode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/qcode.jpg -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng.jpg -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/dadadatu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/dadadatu.jpg -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/shouquan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/shouquan.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/info_icon_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/info_icon_1.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_app_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_app_icon.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/com_facebook_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/com_facebook_close.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_fav.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_qq.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_sms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_sms.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_tx.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_share_solid_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_share_solid_icon.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_alipay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_alipay.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_douban.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_douban.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_flickr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_flickr.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_gmail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_gmail.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_google.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_kakao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_kakao.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_line.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_more.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_pocket.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_pocket.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_qzone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_qzone.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_renren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_renren.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_sina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_sina.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_tumblr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_tumblr.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_wechat.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_yixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_yixin.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_ynote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_ynote.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_evernote.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_evernote.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_facebook.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_laiwang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_laiwang.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_linkedin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_linkedin.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_twitter.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_whatsapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_whatsapp.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_wxcircle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_wxcircle.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_x_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_x_button.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_foursquare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_foursquare.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_instagram.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_pinterest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_pinterest.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_share_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_share_music.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_share_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_share_pic.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_share_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_share_video.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_yixin_circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_yixin_circle.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_laiwang_dynamic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_laiwang_dynamic.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_title_back_bt_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_title_back_bt_normal.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_title_right_bt_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_title_right_bt_normal.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_title_back_bt_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_title_back_bt_selected.png -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_title_right_bt_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fengdouzhe/UmengShareHelper/HEAD/ushare/src/main/res/drawable/umeng_socialize_title_right_bt_selected.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ushare/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ShareDemo 3 | 打开分享面板 4 | 打开自定义分享面板 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /ushare/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /ushare/src/main/java/com/gosuncn/core/share/wxapi/WXEntryActivity.java: -------------------------------------------------------------------------------- 1 | package com.gosuncn.core.share.wxapi; 2 | 3 | 4 | import com.umeng.socialize.weixin.view.WXCallbackActivity; 5 | 6 | public class WXEntryActivity extends WXCallbackActivity { 7 | 8 | 9 | } 10 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /ushare/src/main/res/anim/umeng_socialize_shareboard_animation_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ushare/src/main/res/anim/umeng_socialize_slide_out_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ushare/src/main/res/anim/umeng_socialize_slide_in_from_bottom.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | -------------------------------------------------------------------------------- /ushare/src/main/res/anim/umeng_socialize_fade_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /ushare/src/main/res/anim/umeng_socialize_fade_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | #ffffff 7 | #469ef8 8 | #000000 9 | 10 | -------------------------------------------------------------------------------- /ushare/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /ushare/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | #ffffff 8 | #469ef8 9 | #000000 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ushare/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /ushare/src/test/java/com/github/hch/share/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.github.hch.share; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/test/java/com/github/leo/umengshare/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.github.leo.umengshare; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_shareboard_item_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_title_back_bt.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ushare/src/main/res/drawable/umeng_socialize_title_right_bt.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ushare/src/main/res/anim/umeng_socialize_shareboard_animation_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 10 | 11 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/github/leo/umengshare/App.java: -------------------------------------------------------------------------------- 1 | package com.github.leo.umengshare; 2 | 3 | import android.app.Application; 4 | 5 | import com.umeng.socialize.PlatformConfig; 6 | import com.umeng.socialize.UMShareAPI; 7 | 8 | 9 | public class App extends Application { 10 | 11 | @Override 12 | public void onCreate() { 13 | super.onCreate(); 14 | UMShareAPI.get(this); 15 | } 16 | 17 | { 18 | PlatformConfig.setWeixin("wxdc1e388c3822c80b", "3baf1193c85774b3fd9d18447d76cab0"); 19 | PlatformConfig.setQQZone("100424468", "c7394704798a158208a74ab60104f0ba"); 20 | 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/app_shareadapter.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | 17 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in G:\AndroidStudio\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /ushare/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in G:\AndroidStudio\AppData\Local\Android\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /ushare/src/main/java/com/gosuncn/core/share/ThirdPartyHelper.java: -------------------------------------------------------------------------------- 1 | package com.gosuncn.core.share; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | 6 | import com.umeng.socialize.UMAuthListener; 7 | import com.umeng.socialize.UMShareAPI; 8 | import com.umeng.socialize.bean.SHARE_MEDIA; 9 | 10 | /** 11 | * Created by leo on 2016/11/22 12 | * description: 封装了友盟的第三方平台登录方法 13 | */ 14 | public class ThirdPartyHelper { 15 | 16 | /** 17 | * 第三方平台登录 18 | * @param platform 平台 例如QQ,微信等等 19 | * @return 20 | */ 21 | public static void authLogin(Context context, UMShareAPI mShareAPI,SHARE_MEDIA platform,UMAuthListener umAuthListener){ 22 | mShareAPI.getPlatformInfo((Activity) context, platform, umAuthListener); 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/main/java/com/github/leo/umengshare/model/Defaultcontent.java: -------------------------------------------------------------------------------- 1 | package com.github.leo.umengshare.model; 2 | 3 | import android.os.Environment; 4 | 5 | /** 6 | * Created by leo on 2016/11/21 7 | * description: 默认分享数据 8 | */ 9 | public class Defaultcontent { 10 | public static String url = "http://t.cn/RVsZt1Z"; 11 | public static String text = "测试内容"; 12 | public static String title = "测试标题"; 13 | public static String imageurl = "http://dev.umeng.com/images/tab2_1.png"; 14 | public static String videourl = "http://video.sina.com.cn/p/sports/cba/v/2013-10-22/144463050817.html"; 15 | public static String musicurl = "http://music.huoxing.com/upload/20130330/1364651263157_1085.mp3"; 16 | public static final String SDCARD_ROOT = Environment.getExternalStorageDirectory().getAbsolutePath(); 17 | } 18 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ushare/src/androidTest/java/com/github/hch/share/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.github.hch.share; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.github.hch.share", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/github/leo/umengshare/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.github.leo.umengshare; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.github.leo.umengshare", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ushare/src/main/res/values/umeng_socialize_colors.xml: -------------------------------------------------------------------------------- 1 | 2 | #F4F4F4 3 | #2c3035 4 | #333333 5 | #FFFFFF 6 | #E6E6E6 7 | #999999 8 | #464f61 9 | #959696 10 | #666666 11 | #EEEEEE 12 | #595959 13 | #C4C4C4 14 | #F8F8F8 15 | -------------------------------------------------------------------------------- /ushare/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | 4 | android { 5 | compileSdkVersion 25 6 | buildToolsVersion "25.0.0" 7 | defaultConfig { 8 | minSdkVersion 15 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | compile 'com.android.support:appcompat-v7:25.0.1' 28 | testCompile 'junit:junit:4.12' 29 | } 30 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 25 5 | buildToolsVersion "25.0.0" 6 | defaultConfig { 7 | applicationId "com.github.leo.umengshare" 8 | minSdkVersion 15 9 | targetSdkVersion 25 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | compile 'com.android.support:appcompat-v7:25.0.1' 28 | testCompile 'junit:junit:4.12' 29 | compile project (':ushare') 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/res/layout/app_user.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 |