tsy12321 / socialsdkandroid Goto Github PK
View Code? Open in Web Editor NEW对第三方社会化sdk的集成和二次封装,比如第三方登录、第三方分享等
License: Apache License 2.0
对第三方社会化sdk的集成和二次封装,比如第三方登录、第三方分享等
License: Apache License 2.0
由于上传图片总是失败,就在这里问题描述:
分享到QQ时, 弹出选择好友--点击某好友--弹出的预览框,预览框的封面图一直是第一次分享的那个图,
QQHandler这个类的104行,获取根路径,我将图片命名为随机名称 才修复,但是这样每次分享都会在手机创建一张图。。
搞错了,抱歉
测试了一下QQ分享,分享之后onComplete onError onCancel里面的toast都没有弹出来,可事实上已经分享成功了
可以进行微信分享,微信登录也可以弹出页面,按授权后,没有接受到相应的返回信息。
说是shareMedia error
会报空指针
还有一个问题,打开activity,新浪微博分享,随机出现第 1~3次(连续)分享没反应,但是打开activity先分享朋友圈,再分享新浪微博就没问任何问题。而且经过测试发现,打开activity,第一次点击分享,在doShare方法哪里打一个断点,然后点击新浪微博分享,走到断点处,让断点走完,则能分享成功(成功率百分之百)
如果集成了微信支付会不会和库里的回调冲突?微信支付登陆分享不是都用的同一个activity接收的吗
QQ登录可以回调成功,可以看到打印的成功信息。
微信可以到点击登录那里,然后点击后看不到回调接口的打印信息,说明没成功!
微博点击调用按钮,直接闪退到上一界面,关闭了当前界面。
这个库可以获取到access_token 和openid,但是怎么获取到用户名、头像等信息呢?
我在app中有多个activity提供分享功能,这时候在manifest中对应的每个activity中添加
<!-- 微博回调 --> <intent-filter> <action android:name="com.sina.weibo.sdk.action.ACTION_SDK_REQ_ACTIVITY" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter>
这时候新浪微博的分享回调会弹出一个dialog,里面有多个选项供选择,这些选项都是本app
qq登录是不安装qq就没法登陆吗,有那种调webview的吗。
Error:Execution failed for task ':buddhidmapp:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/tencent/mm/sdk/a/a$a.class
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.