• Stars
    star
    702
  • Rank 62,166 (Top 2 %)
  • Language
    Java
  • License
    MIT License
  • Created almost 9 years ago
  • Updated over 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ThirdParty login and share lib

ShareLoginLib

ShareLoginLib likes simple sharesdk or umeng in China . It is a tool to help developers to share their content (image , text or music ) to WeChat,Weibo and QQ .

Including in your project


compile 'com.echodjb.shareloginlib:share:0.6'

eclipse

[GO HOME

How to use (参考MainActivity)


1.初始化申请的第三方key

   ShareBlock.getInstance().initShare(wechatAppid, weiboId, qqId,
                   wechatSecret);

2.初始化微博回调地址

      ShareBlock.getInstance().initWeiboRedriectUrl(weiboRedriectUrl);

3.分享到微信

  IShareManager iShareManager = new WechatShareManager(context);
  iShareManager.share(new ShareContentWebpage("title", "content", "dataUrl",
  "imageUrl",WechatShareManager.WEIXIN_SHARE_TYPE_TALK);

4.微信登录

  ILoginManager iLoginManager = new WechatLoginManager
                        (MainActivity.this);
                iLoginManager.login(new PlatformActionListener() {
                    @Override
                    public void onComplete(HashMap<String, Object> userInfo) {
                        //TODO
                    }

                    @Override
                    public void onError() {
                        //TODO
                    }

                    @Override
                    public void onCancel() {
                        //TODO
                    }
                });
                

Demo


screenshot

ReleaseNotes


V0.6 (2015-09-10)

  • 更新QQ sdk 修复X86机型QQ登录闪退。

Libraries


LICENCE


The MIT License (MIT)

Copyright (c) 2015 LingoChamp Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

FileDownloader

Multitask、MultiThread(MultiConnection)、Breakpoint-resume、High-concurrency、Simple to use、Single/NotSingle-process
Java
10,958
star
2

okdownload

A Reliable, Flexible, Fast and Powerful download engine.
Java
5,093
star
3

MagicProgressWidget

MagicProgressCircle & MagicProgressBar
Java
727
star
4

Diplomat

整合第三方 SDK 微信、微博、 QQ 等为统一的 Diplomat 接口。
Objective-C
660
star
5

QiniuImageLoader

在Android上结合七牛提供的API,让加载图片更有效、更节流、更简单、更可控、更酷
Java
525
star
6

okcheck

Incremental scan,integrate Lint、KtLint、UnitTest、Checkstyle、Findbugs、Pmd, powerful and easy to use
Groovy
308
star
7

LingoRecorder

LingoRecorder is a better recorder for Android, you can easily process pcm from it.
Java
184
star
8

FuriganaTextView

A simple wrapper view for UITextView that can display Furiganas.
Swift
133
star
9

SpanEllipsizeEnd

处理 Span 在 最大宽度文字尾省略号,无效的问题。
Java
89
star
10

Multi-Scale-BERT-AES

Demo for the paper "On the Use of BERT for Automated Essay Scoring: Joint Learning of Multi-Scale Essay Representation"
Python
48
star
11

tensorflow-dkt

Build DKT (Deep Knowledge Tracing) model with TensorFlow
Python
47
star
12

OnlineScorer-Wechat

流利说在线录音打分微信版SDK
JavaScript
36
star
13

OnlineScorer-Android

C
12
star
14

OnlineScorer-iOS

OnlineScorerRecorder for iOS
Objective-C
9
star
15

Mercury

Kotlin
9
star
16

OnlineScorer-Web

JavaScript
6
star
17

open-asr

Python
5
star
18

language-coursescript

Syntax highlighting and snippets for CourseScript.
CoffeeScript
3
star
19

open-wechat-scorer

Server-side SDK for Liulishuo Open Platform
Python
1
star
20

PTSDK-iOS

PTSDK Framework for iOS
Swift
1
star
21

cares

A forked c-ares repository to make GRPC compilation less painful
C
1
star