From 81838280939892de24b5f67210b50c57af40f3df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=94=E5=BE=B7=E8=85=BE?= <123456> Date: Tue, 6 Feb 2018 14:16:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E4=BB=93=E5=BA=93?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/file.template.settings.xml | 8 + .idea/fileTemplates/internal/Class.java | 5 + .idea/gradle.xml | 19 + ...pen_sdk_r5990_lite_jar_unspecified_jar.xml | 9 + ...weiboSDKCore_3_1_4_jar_unspecified_jar.xml | 9 + ...upport_animated_vector_drawable_25_0_0.xml | 14 + ...om_android_support_appcompat_v7_25_0_0.xml | 14 + ...support_support_annotations_25_0_0_jar.xml | 13 + ..._android_support_support_compat_25_0_0.xml | 15 + ...android_support_support_core_ui_25_0_0.xml | 15 + ...roid_support_support_core_utils_25_0_0.xml | 15 + ...ndroid_support_support_fragment_25_0_0.xml | 15 + ...id_support_support_media_compat_25_0_0.xml | 15 + .../com_android_support_support_v4_25_0_0.xml | 10 + ...support_support_vector_drawable_25_0_0.xml | 14 + .../com_squareup_okhttp3_okhttp_3_4_2_jar.xml | 11 + .../com_squareup_okio_okio_1_9_0_jar.xml | 11 + ..._wechat_sdk_android_with_mta_5_1_0_jar.xml | 11 + ..._wechat_sdk_android_with_mta_5_1_4_jar.xml | 11 + .../io_reactivex_rxandroid_1_2_1.xml | 12 + .../io_reactivex_rxjava_1_2_3_jar.xml | 11 + .idea/libraries/junit_junit_4_12_jar.xml | 11 + .../org_hamcrest_hamcrest_core_1_3_jar.xml | 11 + .idea/misc.xml | 33 + .idea/modules.xml | 10 + .idea/runConfigurations.xml | 12 + .idea/workspace.xml | 3802 +++++++++++++++++ ShareLib.iml | 19 + app/.gitignore | 1 + app/app.iml | 123 + app/build.gradle | 39 + app/proguard-rules.pro | 21 + .../devkit/share/ExampleInstrumentedTest.java | 26 + app/src/main/AndroidManifest.xml | 30 + .../java/vip/devkit/share/MainActivity.java | 118 + .../drawable-v24/ic_launcher_foreground.xml | 34 + .../res/drawable/ic_launcher_background.xml | 170 + app/src/main/res/layout/activity_main.xml | 27 + .../res/mipmap-anydpi-v26/ic_launcher.xml | 5 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 + app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3056 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 0 -> 5024 bytes app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2096 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 0 -> 2858 bytes app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 4569 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 0 -> 7098 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 6464 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 0 -> 10676 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 9250 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 0 -> 15523 bytes app/src/main/res/values/colors.xml | 6 + app/src/main/res/values/strings.xml | 3 + app/src/main/res/values/styles.xml | 11 + .../vip/devkit/share/ExampleUnitTest.java | 17 + build.gradle | 42 + gradle.properties | 18 + gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 53636 bytes gradle/wrapper/gradle-wrapper.properties | 6 + gradlew | 160 + gradlew.bat | 90 + settings.gradle | 1 + share/.gitignore | 1 + share/build.gradle | 47 + share/libs/open_sdk_r5990_lite.jar | Bin 0 -> 252028 bytes share/libs/weiboSDKCore_3.1.4.jar | Bin 0 -> 431762 bytes share/proguard-rules.pro | 21 + share/share.iml | 114 + share/src/main/AndroidManifest.xml | 55 + share/src/main/ic_launcher-web.png | Bin 0 -> 26333 bytes .../vip/devkit/common/share/LoginUtil.java | 110 + .../vip/devkit/common/share/ShareConfig.java | 105 + .../vip/devkit/common/share/ShareLogger.java | 64 + .../vip/devkit/common/share/ShareManager.java | 30 + .../vip/devkit/common/share/ShareUtil.java | 300 ++ .../devkit/common/share/_ShareActivity.java | 87 + .../common/share/login/LoginListener.java | 35 + .../common/share/login/LoginPlatform.java | 26 + .../common/share/login/LoginResult.java | 49 + .../share/login/instance/LoginInstance.java | 26 + .../share/login/instance/QQLoginInstance.java | 167 + .../login/instance/WeiboLoginInstance.java | 139 + .../share/login/instance/WxLoginInstance.java | 199 + .../common/share/login/result/BaseToken.java | 25 + .../common/share/login/result/BaseUser.java | 62 + .../common/share/login/result/QQToken.java | 16 + .../common/share/login/result/QQUser.java | 41 + .../common/share/login/result/WeiboToken.java | 39 + .../common/share/login/result/WeiboUser.java | 120 + .../common/share/login/result/WxToken.java | 26 + .../common/share/login/result/WxUser.java | 63 + .../common/share/share/ImageDecoder.java | 126 + .../common/share/share/ShareImageObject.java | 38 + .../common/share/share/ShareListener.java | 55 + .../common/share/share/SharePlatform.java | 25 + .../share/instance/DefaultShareInstance.java | 102 + .../share/share/instance/QQShareInstance.java | 218 + .../share/share/instance/ShareInstance.java | 26 + .../share/instance/WeiboShareInstance.java | 155 + .../share/share/instance/WxShareInstance.java | 200 + .../main/jniLibs/arm64-v8a/libweibosdkcore.so | Bin 0 -> 30232 bytes .../jniLibs/armeabi-v7a/libweibosdkcore.so | Bin 0 -> 25848 bytes .../main/jniLibs/armeabi/libweibosdkcore.so | Bin 0 -> 25840 bytes .../src/main/jniLibs/mips/libweibosdkcore.so | Bin 0 -> 72056 bytes .../main/jniLibs/mips64/libweibosdkcore.so | Bin 0 -> 35848 bytes share/src/main/jniLibs/x86/libweibosdkcore.so | Bin 0 -> 25916 bytes .../main/jniLibs/x86_64/libweibosdkcore.so | Bin 0 -> 26384 bytes .../res/drawable/ic_launcher_background.xml | 74 + .../res/drawable/ic_launcher_foreground.xml | 34 + .../res/mipmap-anydpi-v26/ic_launcher.xml | 5 + .../mipmap-anydpi-v26/ic_launcher_round.xml | 5 + .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 3171 bytes .../res/mipmap-hdpi/ic_launcher_round.png | Bin 0 -> 4826 bytes .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 2187 bytes .../res/mipmap-mdpi/ic_launcher_round.png | Bin 0 -> 2872 bytes .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 4750 bytes .../res/mipmap-xhdpi/ic_launcher_round.png | Bin 0 -> 7209 bytes .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 6639 bytes .../res/mipmap-xxhdpi/ic_launcher_round.png | Bin 0 -> 10719 bytes .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 8414 bytes .../res/mipmap-xxxhdpi/ic_launcher_round.png | Bin 0 -> 14777 bytes share/src/main/res/values/strings.xml | 4 + 121 files changed, 8142 insertions(+) create mode 100644 .idea/file.template.settings.xml create mode 100644 .idea/fileTemplates/internal/Class.java create mode 100644 .idea/gradle.xml create mode 100644 .idea/libraries/__local_aars___D__AppItem_ShareLib_share_libs_open_sdk_r5990_lite_jar_unspecified_jar.xml create mode 100644 .idea/libraries/__local_aars___D__AppItem_ShareLib_share_libs_weiboSDKCore_3_1_4_jar_unspecified_jar.xml create mode 100644 .idea/libraries/com_android_support_animated_vector_drawable_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_appcompat_v7_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_annotations_25_0_0_jar.xml create mode 100644 .idea/libraries/com_android_support_support_compat_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_core_ui_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_core_utils_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_fragment_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_media_compat_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_v4_25_0_0.xml create mode 100644 .idea/libraries/com_android_support_support_vector_drawable_25_0_0.xml create mode 100644 .idea/libraries/com_squareup_okhttp3_okhttp_3_4_2_jar.xml create mode 100644 .idea/libraries/com_squareup_okio_okio_1_9_0_jar.xml create mode 100644 .idea/libraries/com_tencent_mm_opensdk_wechat_sdk_android_with_mta_5_1_0_jar.xml create mode 100644 .idea/libraries/com_tencent_mm_opensdk_wechat_sdk_android_with_mta_5_1_4_jar.xml create mode 100644 .idea/libraries/io_reactivex_rxandroid_1_2_1.xml create mode 100644 .idea/libraries/io_reactivex_rxjava_1_2_3_jar.xml create mode 100644 .idea/libraries/junit_junit_4_12_jar.xml create mode 100644 .idea/libraries/org_hamcrest_hamcrest_core_1_3_jar.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/runConfigurations.xml create mode 100644 .idea/workspace.xml create mode 100644 ShareLib.iml create mode 100644 app/.gitignore create mode 100644 app/app.iml create mode 100644 app/build.gradle create mode 100644 app/proguard-rules.pro create mode 100644 app/src/androidTest/java/vip/devkit/share/ExampleInstrumentedTest.java create mode 100644 app/src/main/AndroidManifest.xml create mode 100644 app/src/main/java/vip/devkit/share/MainActivity.java create mode 100644 app/src/main/res/drawable-v24/ic_launcher_foreground.xml create mode 100644 app/src/main/res/drawable/ic_launcher_background.xml create mode 100644 app/src/main/res/layout/activity_main.xml create mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml create mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-hdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-mdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xhdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png create mode 100644 app/src/main/res/values/colors.xml create mode 100644 app/src/main/res/values/strings.xml create mode 100644 app/src/main/res/values/styles.xml create mode 100644 app/src/test/java/vip/devkit/share/ExampleUnitTest.java create mode 100644 build.gradle create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.jar create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 gradlew create mode 100644 gradlew.bat create mode 100644 settings.gradle create mode 100644 share/.gitignore create mode 100644 share/build.gradle create mode 100644 share/libs/open_sdk_r5990_lite.jar create mode 100644 share/libs/weiboSDKCore_3.1.4.jar create mode 100644 share/proguard-rules.pro create mode 100644 share/share.iml create mode 100644 share/src/main/AndroidManifest.xml create mode 100644 share/src/main/ic_launcher-web.png create mode 100644 share/src/main/java/vip/devkit/common/share/LoginUtil.java create mode 100644 share/src/main/java/vip/devkit/common/share/ShareConfig.java create mode 100644 share/src/main/java/vip/devkit/common/share/ShareLogger.java create mode 100644 share/src/main/java/vip/devkit/common/share/ShareManager.java create mode 100644 share/src/main/java/vip/devkit/common/share/ShareUtil.java create mode 100644 share/src/main/java/vip/devkit/common/share/_ShareActivity.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/LoginListener.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/LoginPlatform.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/LoginResult.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/instance/LoginInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/instance/QQLoginInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/instance/WeiboLoginInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/instance/WxLoginInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/BaseToken.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/BaseUser.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/QQToken.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/QQUser.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/WeiboToken.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/WeiboUser.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/WxToken.java create mode 100644 share/src/main/java/vip/devkit/common/share/login/result/WxUser.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/ImageDecoder.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/ShareImageObject.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/ShareListener.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/SharePlatform.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/instance/DefaultShareInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/instance/QQShareInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/instance/ShareInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/instance/WeiboShareInstance.java create mode 100644 share/src/main/java/vip/devkit/common/share/share/instance/WxShareInstance.java create mode 100644 share/src/main/jniLibs/arm64-v8a/libweibosdkcore.so create mode 100644 share/src/main/jniLibs/armeabi-v7a/libweibosdkcore.so create mode 100644 share/src/main/jniLibs/armeabi/libweibosdkcore.so create mode 100644 share/src/main/jniLibs/mips/libweibosdkcore.so create mode 100644 share/src/main/jniLibs/mips64/libweibosdkcore.so create mode 100644 share/src/main/jniLibs/x86/libweibosdkcore.so create mode 100644 share/src/main/jniLibs/x86_64/libweibosdkcore.so create mode 100644 share/src/main/res/drawable/ic_launcher_background.xml create mode 100644 share/src/main/res/drawable/ic_launcher_foreground.xml create mode 100644 share/src/main/res/mipmap-anydpi-v26/ic_launcher.xml create mode 100644 share/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml create mode 100644 share/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100644 share/src/main/res/mipmap-hdpi/ic_launcher_round.png create mode 100644 share/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100644 share/src/main/res/mipmap-mdpi/ic_launcher_round.png create mode 100644 share/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100644 share/src/main/res/mipmap-xhdpi/ic_launcher_round.png create mode 100644 share/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100644 share/src/main/res/mipmap-xxhdpi/ic_launcher_round.png create mode 100644 share/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 share/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png create mode 100644 share/src/main/res/values/strings.xml diff --git a/.idea/file.template.settings.xml b/.idea/file.template.settings.xml new file mode 100644 index 0000000..b6a82d9 --- /dev/null +++ b/.idea/file.template.settings.xml @@ -0,0 +1,8 @@ + + + + +