6.leakcanary
一句话介绍:一款内存检测框架,服务于java和android客户端
上榜理由:方便,简洁是leakcanary最大的特点,只需在应用的apllication中集成,就可以直接使用它;15.5k个star说明了它有多么受欢迎
github https://github.com/square/leakcanary
作者 square团队
使用:
dependencies {
debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
}
在 Application
中写入:
public class ExampleApplication extends Application {
@Override public void onCreate() {
super.onCreate(); if (LeakCanary.isInAnalyzerProcess(this)) { // This process is dedicated to LeakCanary for heap analysis. // You should not init your app in this process.
return;
}
LeakCanary.install(this); // Normal app init code... }
}
7.Android-Universal-Image-Loader
一句话介绍:曾经的图片加载框架王者,android开发老手都用过它
上榜理由:android端图片加载框架的老大哥了,15.3k个star足以证明它的热门,UIL与gilde最大区别是可定制,UIL提供了大量配置方式,图片加载状态的回调(成功,失败,进行中),加载动画等;以及提供了移动端图片加载框架的缓存思路:三级缓存策略 sd卡-内存-网络;值得注意的是,UIL以及两年未更新了,但笔者仍推荐各位使用!
github https://github.com/nostra13/Android-Universal-Image-Loader
作者 nostra13
使用:
下载地址 universal-image-loader-1.9.5.jar
8.EventBus
一句话介绍:EventBus是一款本地组件间通信框架
上榜理由:组件间通信框架star量第一:14.8k,在大型项目的Activities,fragments,Threads,Services都可以看到它的使用场景,尽管EventBus在向未创建的组件传递事件时有些局限,仅适合在“活着的”组件间传递消息,但仍不妨碍它活跃在各个大型项目各个场景里。
官网地址 http://greenrobot.org/eventbus/documentation/how-to-get-started/
github https://github.com/greenrobot/EventBus
作者 greenrobot
使用:
compile 'org.greenrobot:eventbus:3.0.0'
9.zxing
一句话介绍:条码图像处理库
上榜理由:如果你用过二维码,你肯定已经间接使用过大名鼎鼎的zxing了。13.9K的star量,让它排在本榜单第九,实至名归,如果你有了解二维码的需求,不妨从了解、修改它源码入手。
github https://github.com/zxing/zxing
作者 Sean Owen
10.picasso
一句话介绍:强力的图片下载、缓存框架
上榜理由:本榜单出现的第三款图片类框架,不同的是picasso更强调图片下载,你可以将picasso集成进你的项目中,你也可以结合gilde和UIL与picasso,三者一齐封装至你的项目中,按需所用。
官网地址 http://square.github.io/picasso/
github https://github.com/square/picasso
作者 square团队
使用:
compile 'com.squareup.picasso:picasso:2.5.2'
或者下载 jar包
三.完整项目
1.iosche
一句话介绍:谷歌2016开发者大会的展示项目
上榜理由:github上有13.4k个star,位居企业级项目排行榜第一位,牛逼的开发者,权威的设计模式,标准的项目写法,值得一试;笔者建议初学者down下源码,找到app入口,每个页面走一通,配合设计模式的概念加深理解。
github https://github.com/google/iosched
作者: Google
2.Plaid
一句话介绍:提供设计新闻和灵感的开源app
上榜理由:标准的material design设计,新闻类app,github上9k的star量值得你摒弃市面上参差不齐的新闻app,快点下手研究它吧!
github https://github.com/nickbutcher/plaid
作者: Nick Butcher
3.PocketHub
一句话介绍:Github的Android版
上榜理由:8.7K的star数量,Github的亲生儿子,开放的源码值得各位一探究竟
github https://github.com/pockethub/PocketHub
作者:Fadil Sutomo
使用:
down下所有源码
4.Signal Android
一句话介绍:Signal是一款安全通讯的短信类app,
上榜理由:7.9K的star数量,工具类app的标签属性,让它在排行榜中独一无二,如果你对短信app有兴趣,可以深入探究一番
github https://github.com/WhisperSystems/Signal-Android
作者:WhisperSystems
使用:github上down源码
5.android-UniversalMusicPlayer
一句话介绍:一款跨设备运行的多媒体app
上榜理由:googlesamples良心推荐,github拥有7.9k个star,可以在Android手机,汽车,平板,穿戴设备上使用,对于仅仅体验过Android手机开发的程序员,会不会很新奇呢?你值得一试!
github https://github.com/googlesamples/android-UniversalMusicPlayer
作者:Google
使用:github上down源码
6.HomeMirror
一句话介绍:如果你是个爱美的家伙那么你一定需要这面镜子!
上榜理由:工具类App很难再github上有一席之地,除非它提供特别新奇的功能,比如HomeMirror,github上有用7599个star,仅仅因为它提供了镜子的功能。从现在起,Android 手机、pad,都将成为你旅游居家神器,值得拥有!
github https://github.com/HannahMitt/HomeMirror
作者:Hannah Mittens
HomeMirror初体验:
![](http://mmbiz.qpic.cn/mmbiz_png/ibuh47bPhianaLcwdhXHIadmyRWdH2Iicx2JMZ7mp8EZZ5ic35Dtrrpf2qWKodemQYSbGgFfqvw0sP37abQgU1LPDA/0?wx_fmt=png)
7.ExoPlayer
一句话介绍:一款 替代Android原生MediaPlayer的媒体播放器
上榜理由:也许是Google对自家MediaPlayer API不甚满意,所以诞生了ExoPlayer,ExoPlayer提供了强大的扩展API,使用它来制作多媒体播放器更快捷,更容易扩展,对多媒体播放器感兴趣的同仁们可以用它来大展身手了!6.9K个star,证明它有多受开发者们喜爱,更难能可贵的是,google还在更新维护着!
官网地址:https://google.github.io/ExoPlayer/
github https://github.com/google/ExoPlayer
作者:google
使用:
repositories {
jcenter()
}
compile 'com.google.android.exoplayer:exoplayer:r2.X.X'compile 'com.google.android.exoplayer:exoplayer-core:r2.X.X'compile 'com.google.android.exoplayer:exoplayer-dash:r2.X.X'compile 'com.google.android.exoplayer:exoplayer-ui:r2.X.X'
8.cheesesquare
一句话介绍:Android 材料设计的展示性项目
上榜理由:作者被称为是Android Support Lib背后的男人,他写出的展示性项目,怎能不推荐上榜?材料设计已经炒了好几年了,但作为最权威的展示项目,你一定需要它,6.7个star证明了它是多么的受欢迎。
github https://github.com/chrisbanes/cheesesquare
作者:Chris Banes
9.DanmakuFlameMaster
一句话介绍:android端开源弹幕引擎
上榜理由:bilibili出品,保证了它的纯种品质,并且ndk源码也一并开源,可谓业界良心,该弹幕引擎的开源节省了很多视频直播小伙伴的开发成本,笔者强力推荐!
github https://github.com/Bilibili/DanmakuFlameMaster
作者:bilibili
使用:
repositories {
jcenter()
}
dependencies {
compile 'com.github.ctiao:DanmakuFlameMaster:0.8.3'
compile 'com.github.ctiao:ndkbitmap-armv7a:0.8.3'
# Other ABIs: optional
compile 'com.github.ctiao:ndkbitmap-armv5:0.8.3'
compile 'com.github.ctiao:ndkbitmap-x86:0.8.3'}
10.facebook-android-sdk
一句话介绍:一款提供接入facebook平台能力的框架
上榜理由:无论是你有接入facebook的需求,还是有学习自制sdk的需求,这都是很棒的途径;如何开发一套企业级sdk,是进阶优秀开发工程师的必须之路,4.1k个star,facebook持久更新质量保证,你值得拥有!
github https://github.com/facebook/facebook-android-sdk
作者:facebook
使用:
https://developers.facebook.com/docs/android
11.android-oss
一句话介绍:国外创意社区Kickstarter 开源的Android版客户端
上榜理由:精致的企业级APP,每个页面处理得都很棒,如果你志在成为一个优雅工程师,这款开源项目一定适合你,3.8k个star证明了它不俗的生命力
github:https://github.com/kickstarter/android-oss
作者:kickstarter
使用;
clone源码到本地
12.k-9
一句话介绍:Android端客户端邮件App
上榜理由:还记得张小龙的成名作——FoxMail吗?如果你想做一款移动端Email App,k-9具有很好的借鉴价值,此外对于应用层协议你也会有更深的认识
官网地址: https://k9mail.github.io/
github https://github.com/k9mail/k-9
使用:
clone项目到本地
13.Timber
一句话介绍:一款音乐播放器类App
上榜理由:3K个star,完全按照材料设计规范,提供十几种播放特性,而且还提供App的通用设置能力,这一点做的同样优秀,对于志在提升开发技术的同学值得一试
github https://github.com/naman14/Timber
作者:Naman Dwivedi
使用:
clone源码是一个好习惯
14.remusic
一句话介绍:仿网易云音乐Android版App
上榜理由:学习完Timer,是否还不太满足你的胃口?remusic可以满足你的胃口——它甚至可以拿去直接当上线项目了!2.9K个star,基于Timber的设计(入手的前提是先搞懂Timber)值得入手;有一个问题:如果由你重构,你会如何做呢?
github https://github.com/aa112901/remusic
作者:MW
使用:
clone项目
15.Douya
一句话介绍:开源豆瓣客户端