简单封装QQ、微信、微博的登录、分享功能
###登录
QQ登录
Cuttlefish.with(context).login()
.callback(mLoginResultCallback).to(QQLoginHandler.get())
###分享
QQ分享
Cuttlefish.with(context).share()
.appName("Cuttlefish")
.title("Title")
.description("Description")
.content("Content")
.image("imagePath")
.link("http://link...").callback(mShareResultCallback).to(QQShareHandler.get(QQShareHandler.QZONE));
dependencies {
compile 'com.github.XMXu.Cuttlefish:library:v1.0'
}
#####更多详情见app