专栏名称: OSC开源社区
OSChina 开源中国 官方微信账号
目录
相关文章推荐
程序员小灰  ·  DeepSeek俱乐部,7000人了! ·  2 天前  
OSC开源社区  ·  2025最值得学习的10个Vue3开源代码库 ·  6 天前  
码农翻身  ·  务必立即拿下软考证(政策红利) ·  3 天前  
程序员的那些事  ·  趣图:AI 大模型厂商之间的近况 ·  4 天前  
51好读  ›  专栏  ›  OSC开源社区

面向开发者的最佳 Android 库列表,总有一款适合你

OSC开源社区  · 公众号  · 程序员  · 2016-11-11 08:35

正文

#长按上图识别二维码,参与OSC源创会年终盛典#



英语原文: Best Android Libraries for Developers
链接: https://cloudrail.com/best-android-libraries-for-developers/
编译: 开源中国

软件库的存在使得 Android 编码更方便快捷。在如此多 Android 库中,我们该如何寻找最合适的一款呢?下面我们做了一个列表供你参考。

动画(Animation)


Android View Animations:
https://github.com/daimajia/AndroidViewAnimations
强大的动画库,通过对它的使用,可以轻松创建各种动画效果。

RecyclerView Animators:
https://github.com/wasabeef/recyclerview-animators
允许操作者使用含炫酷动画效果的RecyclerView类。

APIs


CloudRail:
https://cloudrail.com/
帮助操作者更快地进行API集成服务。它将多个服务(例如Dropbox,Google Drive和OneDrive)捆绑成一个统一的API。此外,它可自动处理API更新,并保持API的代码一致。其接口可用于云存储,社交,支付等。

Retrofit:
http://square.github.io/retrofit/
Retrofit由Square公司开发,是Android的REST客户端,其类型安全,可将http API转换成Java接口。

图表(Charts)


MPAndroidChart:
https://github.com/PhilJay/MPAndroidChart
一款强大的图表生成库,可在Android上生成图表,同时还提供8种不同的图表类型和多种手势。

AndroidCharts:
https://github.com/HackPlan/AndroidCharts
一款简单的图表创建工具,具有自定义的功能。

数据库(Database)


SQLBrite:
https://github.com/square/sqlbrite
围绕SQLiteOpenHelper和ContentResolver创建封装,以在查询中使用流式语义。

Sugar ORM:
https://github.com/satyan/sugar
使用SQLite数据库的简单操作,优势在于无需编写SQL查询。

数据架构(Data Structure)


Eclipse Collections:
https://www.eclipse.org/collections/
用于Java的Collections框架,可为容器类型附加迭代方法的操作等。

日期和时间(Date & Time)


TimesSquare for Android:
https://github.com/square/android-times-square
简单独立的日历小部件,可在日历视图中选择日期。

Material Calendar View:
https://github.com/prolificinteractive/material-calendarview
移植到Material design的安卓CalendarView。

依赖(Dependencies)


Dagger:
https://github.com/square/dagger
进行Android依赖注入的快捷方式。

文档(Files)


Android-FilePicker:
https://github.com/DroidNinja/Android-FilePicker
一款照片选择器,可从列表中选择图片或文档。

Material File Picker:
https://github.com/nbsp-team/MaterialFilePicker
Material design中的文件选择器。

函数式编程(Functional Programing)


Retrolambda:
https://github.com/orfjackal/retrolambda
在Java 7中使用Lambdas的一种操作。

手势(Gestures)


Sensey:
https://github.com/nisrulz/Sensey
在Android应用程序中添加手势的简单操作。

Android 3D Touch – PeekView:
https://github.com/klinker24/Android-3DTouch-PeekView
类似于iOS上的3D Touch,用以“预览”程序内容。

蓝牙(Bluetooth)


Android-BluetoothSPPLibrary:
https://github.com/akexorcist/Android-BluetoothSPPLibrary
使用序列化蓝牙端口(Bluetooth Serial Port Profile)的简单操作。

RxAndroidBle:
https://github.com/Polidea/RxAndroidBle
蓝牙低耗能处理工具。

相机(Camera)


CameraFilter:
https://github.com/nekocode/CameraFilter
使用OpenGL着色器的实时相机滤镜。

Material Camera:
https://github.com/afollestad/material-camera
Android开发的快速简易的相机框架。

位置(Location)


ReactiveLocation:
https://github.com/mcharmas/Android-ReactiveLocation
Google Play API的小型但实用的封装程序,用于获取位置。

Smart Location Library:
https://github.com/mrmans0n/smart-location-lib
简化位置提供项的库。

布局(Layout)


Android Swipe Layout:
https://github.com/daimajia/AndroidSwipeLayout
为对象提供滑动布局,如,向左滑动即删除的操作。

FlexboxLayout :
https://github.com/google/flexbox-layout
为Android提供框布局,其内容可通过CSS了解。

日志(Logging)


Logger:
https://github.com/orhanobut/logger
Android日志记录器。

Hugo:
https://github.com/JakeWharton/hugo
用触发注释的方法调用记录。

地图(Maps)


AirMapView :
https://github.com/airbnb/AirMapView
用以查看Google Maps API摘要,非常适合没有Google Play服务的应用程式。

android-maps-utils:
https://github.com/googlemaps/android-maps-utils
Google地图的实用程序,如,热点地图或标记聚类。

音频播放器(Audio)


Music Player:
https://github.com/andremion/Music-Player
含UI的完整音乐播放器。

RxAndroidAudio :
https://github.com/Piasy/RxAndroidAudio
封装带有Rx支持的Android Audio API RxAndroid音频播放器。

GIF


android-gif-drawable:
https://github.com/koral--/android-gif-drawable
使用视图和可绘制的GIF动图。

GifView :
https://github.com/Cutta/GifView
Android上使用View播放的GIF库。

图像(Image)


uCrop:
https://github.com/Yalantis/uCrop
对Android上的图片进行裁剪的库。

Glide:
https://github.com/bumptech/glide
Android的媒体管理和图片加载库。

视频播放器(Video)


VideoPlayerManager:
https://github.com/danylovolokh/VideoPlayerManager
对Android MediaPlayer类的使用进行帮助说明的库。

Easy Video Player:
https://github.com/afollestad/easy-video-player
易于操作的视频播放器,可通过视图使用。

信息(Messaging)


Chateau:
https://github.com/badoo/Chateau
在Android应用中提供聊天功能的框架。

网络(Networking)


OkHttp:
https://github.com/square/okhttp
Android的HTTP客户端。

AndroidAsync:
https://github.com/koush/AndroidAsync
基础级网络协议库。

消息推送(Push Notifications)


PubNub:用于
https://github.com/pubnub/java
处理推送通知的商业服务。

Gandalf:
https://github.com/btkelly/gandalf
用于发送更新或维护相关的通知。

支付(Payments)


Android In-App Billing v3 Library:
https://github.com/anjlab/android-inapp-billing-v3
通过Android v3 API轻松处理应用内置付款的库。

Checkout:
https://github.com/serso/android-checkout
处理应用内购买操作的库。

安全(Security)


Sodium:
https://github.com/jedisct1/libsodium
轻松做加密,解密,签名和散列操作的工具。

PiracyChecker:
https://github.com/javiersantos/PiracyChecker
通过使用Google的LVL,防止应用程式被盗用的工具。

文本(Text)


Ticker:
https://github.com/robinhood/ticker
显示滚动文本的UI组件。

MaterialEditText:
https://github.com/rengwuxian/MaterialEditText
Material Design的文本输入器。

字体(Font)


fontbinding:
https://github.com/lisawray/fontbinding
使用数据绑定的XML自定义字体的操作。

Calligraphy:
https://github.com/chrisjenx/Calligraphy
在Android应用程式上使用传统字体的简易操作。

用户界面(User Interface)


Material Design Android Library:
https://github.com/navasmdc/MaterialDesignLibrary
在Android中使用Google的Material Design(Android 2.2版)的库。







请到「今天看啥」查看全文