工欲善其事,必先利其器,这是一篇(链接)比较全也比较新的国外第三方库使用情况介绍。自己也可以到github里面搜搜整理一下。
Software libraries are an amazing way to speed up coding for Android. Leverage the hard work of other developers to make your life easier. There are tons of amazing Android libraries out there, but how to find the right one? We put together this list to give you a start.
第三方函数库(译者注:包括第三方提供的 SDK,开源函数库)以惊人的方式助力着 Android 开发,借助这些其他开发人员辛勤工作的成果,我们开发起来更轻松和快捷。目前存在成千上万的函数库,如何选择正确的函数库非常关键,本文就是这样的一个总结。
Animation
Android View Animations: A powerful animation library that makes it really easy to create various effects.
一个强大的 View 动画函数库,方便使用者很容易地实现各种 View 的动画效果。
RecyclerView Animators: Allows you to use the RecyclerView class with several cool animations.
专门为 RecyclerView 实现多种炫酷的动画
APIs
CloudRail: CloudRail helps you to integrate services via API much faster. It bundles multiple services like for example Dropbox, Google Drive and OneDrive into a single, unified API. Moreover it handles API updates for you and keeps the API towards your code consistent. Interfaces are available for Cloud Storage, Social, Payment and many more.
为开发者提供多种服务的 API 快速集成,例如将多种服务例如 Dropbox,Google Drive 和 OneDrive 等封装集成为一个统一的 API 供开发者调用,同时兼容这些服务的 API 升级,CloudRail 涉及的服务主要有云存储服务,社交,支付等等。
Retrofit: Retrofit by Square is a type safe REST client for Android. It basically turns an http API into a Java interface.
由 Square 公司开源的类型安全的 REST 客户端,从本质上讲,它是将 http API 转换为 Java 接口供开发者使用。
Charts
MPAndroidChart: A powerful library to generate charts on Android. Offers eight different chart types and a lot of gestures.
非常强大的绘图函数库,支持八种类型的图标绘制,同时支持多种手势操作。
AndroidCharts: An easy way to create Charts, with customizable features
一个简单的绘图函数库,支持可定制的特性。
Database
SQLBrite : Creates a wrapper around SQLiteOpenHelper and ContentResolver to use stream semantics in queries.
由 Square 公司开源的以流式语法查询 SQLiteOpenHelper 和 ContentResolver 的函数库
Sugar ORM: Easy way to work with a SQLite database without the need to write SQL queries.
一个简单的 ORM 框架,开发者再也无需手写 SQL 语句。
Data Structures
Eclipse Collections: Collections framework for Java to eg put iteration methods on the container types.
Date & Time
TimesSquare for Android Simple and standalone widget to pick a date from a calendar view.
最好用的 Java 集合框架。
Material Calendar View Android’s CalendarView ported to Material design.
Material Design 风格的 Android日历控件。
Dependencies
Dagger A fast way to do dependency injections for Android
Files
Android-FilePicker: A photopicker to select pictures or documents out of a nice list
非常著名的依赖注入函数库(译者注:现在使用的话推荐Dagger2)。
Material File Picker: A simple fiel picker in Material design
文件选择器的开源实现。
Functional Programing
Retrolambda: A way to use Lambdas on Java version 7
在 Java7 中实现 Lambdas 表达式方式编码。
Gestures
Sensey: The easy way to add gestures to your Android application
可以很方便在工程中添加手势识别功能的函数库。
Android 3D Touch – PeekView: A way to “peek” into content similar to 3D Touch on iOS
在 Android 上模拟 iOS 平台 3D Touch 功能的函数库。
Bluetooth
Android-BluetoothSPPLibrary: Hardware developer? This is an easy way to use the Bluetooth Serial Port Profile
一个蓝牙串行协议封装函数库,方便的实现功能。
RxAndroidBle: Easily handle Bluetooth Low Energy
基于 RxJava 基础上实现的低功耗蓝牙操作函数库。
Camera
CameraFilter: A realtime camera filter using OpenGL shaders
使用 OpenGL shaders 实现的实时照相机滤色镜。
Material Camera: A fast and easy camera framework for Android
Material Design 风格的视频录制器。
Location
ReactiveLocation: Small but very useful wrapper of the Google Play API to get the location
非常强大有用的 Google Play API 封装函数库,用于获取定位信息,基于 RxJava。
Smart Location Library: Another library to simplify the usage of location providers
另一个方便操作 Android 定位 API 的函数
Layout
Android Swipe Layout: Provides swipe functionality for objects. For example swipe to left to delete it.
非常强大的滑动布局函数库,例如支持滑动删除等布局。
FlexboxLayout : Brings a box layout to Android as you might know it from CSS
将 CSS 中的 Flexbox 布局引入 Android 开发中的一个函数库,由 Google 出品。
Logging
Logger: Simple logger for Android
简单但非常出名的一个日志记录函数库。
Hugo: The classic: Annotation triggered method call logging
基于注解实现的日志记录函数库,由 JakeWharton 大神出品。
Maps
AirMapView : View abstraction for Google Maps API. Especially interesting for apps without Google Play Services
Google Maps API 中的 View 抽象封装的函数库。
Useful utilities:for Google Maps like heat maps or marker clustering
另一个对 Google Maps Android API 封装的函数库,例如标记聚类,热力图等。
Audio
Music Player: A complete music player including nice UI
一个完整的音乐播放器实现,带有炫酷的 UI 效果。
RxAndroidAudio : Encapsulates the Android Audio API with Rx support
Android Audio 的封装函数库。
GIF
android-gif-drawable: Use View and Drawable with animated GIFs
支持在 View 和 Drawable 上面显示 GIF 图片。
GifView : Another library for playing GIFs on Android with View
另外一个支持在 View 上面显示 GIF 图片的函数库。
Image
uCrop: A cool library to crop images on Android
一个功能强大的图片裁剪函数库。
Glide: Media management and image loading library for Android
著名的图片显示缓存函数库。
Video
VideoPlayerManager: A library to help you with the Android MediaPlayer class
一个 Android MediaPlayer 的封装函数库,便于和 ListView,RecyclerView 协作。
Easy Video Player: An easy to use video player which can be used via view
一个封装好的视频播放视图。
Messaging
Chateau: Framework to provide chat functionality in your Android app
一个提供聊天功能的框架。
Networking
OkHttp: HTTP client for Android
Android 平台最佳的一个网络请求函数库
AndroidAsync: A low level network protocol library
一个偏底层的网络协议函数库,基于 nio 实现。
Push Notifications
PubNub: A commercial service to handle push notifications
一个商业的 SDK,用于处理 Push 通知,国内建议别用友盟推送,本人用过,sdk还可以,底层功能不是很完善,让你各种蛋疼。
Gandalf: Inform your users about new updates or maintenance
以对话框的形式提醒用户有更新等操作。
Payments
Android In-App Billing v3 Library: Easily handle in-app payments via the Android v3 API
基于 Android v3 API 实现的应用内支付函数库。
Checkout: Another library for in-app purchases
另一个 Android 应用内支付函数库。
Security
Sodium: Easy way to do encryption, decryption, signatures and hashing
提供了通用的加密,解密,签名和哈希算法的函数库。
PiracyChecker: Protect your app from being pirated using Googles LVL
使用 Googles LVL 和 APK 签名保护等技术来防止 APP 被破解和盗版的函数库。
Text
Ticker: UI component to display scrolling text
支持内容滚动的 TextView 实现。
MaterialEditText: Text input in Material Design
Material Design 风格的 EditText。
Font
fontbinding: Custom fonts in XML using data binding
使用 data binding 实现在 xml 中使用自定义字体的函数库。
Calligraphy An easy way to use custom fonts on your Android app
方便在 Android 中使用自定义字体的函数库。
User Interface
Material Design Android Library: Use Googles Material Design in Apps as of Android 2.2
实现在 Android 2.2 版本中使用 Material Design 功能的函数库。感觉没什么用,现在完全抛弃4.0以下的手机了
Material: Another Library to bring Material Design to older apps
同样的,在低版本 Android 系统中实现 Material Design 功能的函数库。
Activity Indicator
AppIntro: Create cool intros for your apps similar to Googles original apps
实现类似 Google apps 的应用启动引导页。
LolliPin: Need a pin code in your app? Here is a library for that
Material Design 风格的 Pin 码输入界面。
Buttons
Android-Bootstrap: Use Bootstrap specifications to eg create buttons in your app
Bootstrap 风格的按钮实现。
Android Morphing Button: Buttons for Android which can change size and shape to show a “ok” message for example
实现按钮间自由变换的功能。
Form
Vertical Stepper Form Library: Create forms in Material Design
Material Design 风格的垂直方向进度器。
Keyboard
KeyboardVisibilityEvent: Easy way to show and hide the keyboard
用于处理软键盘可见性变化事件通知的函数库。
AndroidKeyboardWatcher: Small library to track open / close events from keyboard
另外一个用于处理软键盘打开关闭监听器的函数库。好像可以用来做坏事
Menu
BottomBar: A view component which provides a bottom navigation bar in Material Design
Material Design 风格的底部导航栏。
Side Menu Add a nice side menu with several categories to you app
Yalantis 出品的侧边栏实现。
Rating
Android-Rate: A simple library to remind users to rate your app after a few days
定期提醒用户到应用市场给 APP 打分的函数库。
SimpleRatingBar: UI component for a rating based on stars
一个用于替换系统提供的评分控件的函数库。
Slider
SlidingMenu: Easily create slide-in menus for your app
Android 侧滑菜单的实现。
MaterialDrawer: A flexible and easy drawer library for Android
Material Design 风格的侧边抽屉实现。