Android网络库

Android-async-http

  • 一款 Android 老牌异步请求库, 专门对 Android 在 Apache 的 HttpClient 基础上构建的异步 http 连接, 该库有很多特征, 例如: 库的 size 小, 支持文件上传不需使用第三方库支持, 内部使用线程池来处理并发等等
  • https://github.com/loopj/android-async-http

Okio

  • A modern I/O API for Java。一个由 square 公司开发的,它补充了java.io和java.nio的不足,以便能够更加方便,快速的访问、存储和处理你的数据。OkHttp 的底层也使用该库作为支持,而在开发中,使用该库可以大大给你带来方便。
  • https://github.com/square/okio

Okhttp

  • OkHttp 库的设计和实现的首要目标是高效。OkHttp 提供了对最新的 HTTP 协议版本 HTTP/2 和 SPDY 的支持,这使得对同一个主机发出的所有请求都可以共享相同的套接字连接。如果 HTTP/2 和 SPDY 不可用,OkHttp 会使用连接池来复用连接以提高效率。OkHttp 提供了对 GZIP 的默认支持来降低传输内容的大小。OkHttp 也提供了对 HTTP 响应的缓存机制,可以避免不必要的网络请求。当网络出现问题时,OkHttp 会自动重试一个主机的多个 IP 地址。
  • https://github.com/square/okhttp
  • warning:OkHttp works on Android 5.0+ (API level 21+) and on Java 8+
    The OkHttp 3.12.x branch supports Android 2.3+ (API level 9+) and Java 7+. These platforms lack support for TLS 1.2 and should not be used. But because upgrading is difficult we will backport critical fixes to the 3.12.x branch through December 31, 2020.

Retrofit

  • Type-safe HTTP client for Android and Java by Square, Inc. 针对Android网络请求的框架,Retrofit2底层是基于OkHttp实现的
  • https://github.com/square/retrofit

FileDownloader

  • Multitask、MultiThread(MultiConnection)、Breakpoint-resume、High-concurrency、Simple to use、Single/NotSingle-process
  • https://github.com/lingochamp/FileDownloader

RxDownload

  • 基于 RxJava 和 Retrofit 打造的 Android 开源下载工具, 支持多线程下载和断点续传, 智能判断是否支持断点续传等功能
  • https://github.com/ssseasonnn/RxDownload

Android数据库DataBase、ORM

GreenDao

  • greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
  • https://github.com/greenrobot/greenDAO

LitePal

  • An Android library that makes developers use SQLite database extremely easy.
  • https://github.com/LitePalFramework/LitePal

注入

Butterknife

  • 一款Android View 注入框架, 使用它为了简写很多 findViewById 代码, 同时还支持 View 的一些事件处理函数
  • https://github.com/JakeWharton/butterknife

Dagger

  • Square 公司出品的一个针对 Android 和 Java 的快速依赖注入器, 能够有效减少你敲代码量,最新版本是google旗下的dagger2
  • https://github.com/google/dagger

事件总线

EventBus

  • Android 事件管理总线, 使用它可以替带 Android BroadCast, BroadCastReceiver, Handler 在 Activity, Fragment, Service, 线程之间传递消息, 大大简化了事件传递逻辑
  • https://github.com/greenrobot/EventBus

数据采集

acra

  • 一个开源的Android平台程序崩溃信息收集小程序,可以嵌入到Android Project中,当该程序崩溃的时候ACRA能够在进程彻底结束前收集崩溃状态时的该应用和设备的各种信息,发送到搭建好的服务端,便于开发者进行程序错误信息的收集,开发者可以更好的改进程序提高兼容性
  • https://github.com/ACRA/acra

响应式编程Reactive Programming

RxJava

  • 一个在Java虚拟机上实现的响应式扩展库:提供了基于observable序列实现的异步调用及基于事件编程。 它扩展了观察者模式,支持数据、事件序列并允许你合并序列,无需关心底层的线程处理、同步、线程安全、并发数据结构和非阻塞I/O处理。
  • https://github.com/ReactiveX/RxJava

音视频处理

ExoPlayer

  • Google 开发团队开源出来的一个媒体播放库, 比 Android 框架原生的 MediaPlayer 拥有更多优点支持动态的自适应流 HTTP(DASH) 和 平滑流, 支持高级的 HLS 特性, 支持自定义和扩治你的使用场景等等
  • https://github.com/google/ExoPlayer

Ijkplayer

  • BiliBili开源的视频播放器,基于FFmpeg n3.1,支持Android的MediaCodec和iOS的VideoToolbox
  • https://github.com/Bilibili/ijkplayer

图片处理

Glide

  • 一个专注于平滑滚动的图片加载和缓存的 Android 开源库,Google 官方曾推荐
  • https://github.com/bumptech/glide

Fresco

  • Facebook开源的 Android 图片加载组件,Fresco 的出现,似乎将 Android 的图片加载做到了极致。
  • https://github.com/facebook/fresco

Picasso

  • Square 公司出品的一款功能强大图片缓存库, 主导者是 JakeWharton 大神,A powerful image downloading and caching library for Android
  • https://github.com/square/picasso

文字处理

控件

动画

Lottie-android

  • Airbnb 开源的一款能够为原生应用添加动画效果库,Lottie 目前提供了 iOS, Android, 和 React Native 版本,能够实时渲染 After Effects 动画特效
  • https://github.com/airbnb/lottie-android

WebView

FinestWebView-Android

  • 一个优雅、可自定义的Android开源WebView控件
  • https://github.com/TheFinestArtist/FinestWebView-Android

绘图

热修复

Tinker

  • 微信开源的 Android 热修复框架,支持在无需升级APK的前提下更新 dex, library and resources 文件
  • https://github.com/Tencent/tinker

插件化

测试/调试

Leakcanary

  • Square 公司出的一款检测内存泄露工具, 该工具能帮助你在开发阶段方便的检测出内存泄露的问题, 使用起来非常简单方便
  • https://github.com/square/leakcanary

Stetho

  • Stetho,来自Facebook,它能做什么?无需root,借助Chrome可以查看SharePreferences和数据库中的数据,此外还有网络抓包以及查看View树等
  • http://facebook.github.io/stetho/

AS插件

Android-parcelable-intellij-plugin

  • 帮助继承Parcelable的类自动生成相应代码,在没遇见它之前,手动写过大量的Parcelable实现代码,真的好痛苦。
  • https://github.com/mcharmas/android-parcelable-intellij-plugin

GsonFormat

  • 根据JSON数据快速生成Java实体类
  • https://github.com/zzz40500/GsonFormat

更多相关文章

  1. android监听软键盘退格(删除)事件
  2. Android 修改程序字体
  3. android中点击事件的4种写法
  4. 近百android程序源码贡献
  5. Android 远程视频监控程序源码
  6. 点击事件

随机推荐

  1. Android(安卓)Non-UI to UI Thread Commu
  2. Android(安卓)让你的 EditText 只接受指
  3. android书籍
  4. android之实现各个组件点击事件监听
  5. android:向手机卡上写入文件时总是不成功,
  6. 安卓巴士Android开发神贴整理
  7. 短信接收--Android彩信的接收流程(应用层)
  8. 2011.09.23(2)——— android sample之Note
  9. android 按钮按下效果(文字颜色和按钮同时
  10. android 主线程和子线程之间的消息传递