Android高手速成--第二部分 工具庫

主要包括那些不錯的開發庫,包括依賴注入框架、圖片緩存、網絡相關、數據庫ORM建模、Android公共庫、Android 高版本向低版本兼容、多媒體相關及其餘。css

1、依賴注入DI

經過依賴注入減小View、服務、資源簡化初始化,事件綁定等重複繁瑣工做html

  1. AndroidAnnotations(Code Diet)
    android快速開發框架
    項目地址:https://github.com/excilys/androidannotations
    文檔介紹:https://github.com/excilys/androidannotations/wiki
    官方網站:http://androidannotations.org/
    特色:(1) 依賴注入:包括view,extras,系統服務,資源等等
    (2) 簡單的線程模型,經過annotation表示方法運行在ui線程仍是後臺線程
    (3) 事件綁定:經過annotation表示view的響應事件,不用在寫內部類
    (4) REST客戶端:定義客戶端接口,自動生成REST請求的實現
    (5) 沒有你想象的複雜:AndroidAnnotations只是在在編譯時生成相應子類
    (6) 不影響應用性能:僅50kb,在編譯時完成,不會對運行時有性能影響。
    PS:與roboguice的比較:roboguice經過運行時讀取annotations進行反射,因此可能影響應用性能,而AndroidAnnotations在編譯時生成子類,因此對性能沒有影響java

  2. roboguice
    幫你處理了不少代碼異常,利用annotation使得更少的代碼完成項目
    項目地址:https://github.com/roboguice/roboguice
    文檔介紹:https://github.com/roboguice/roboguice/wikiandroid

  3. butterknife
    利用annotation幫你快速完成View的初始化,減小代碼
    項目地址:https://github.com/JakeWharton/butterknife
    文檔介紹:http://jakewharton.github.io/butterknife/ios

  4. Dagger
    依賴注入,適用於Android和Java
    項目地址:https://github.com/square/dagger
    文檔介紹:http://square.github.io/dagger/
    git

2、圖片緩存

  1. Android-Universal-Image-Loader
    圖片緩存,目前使用最普遍的圖片緩存,支持主流圖片緩存的絕大多數特性。
    項目地址:https://github.com/nostra13/Android-Universal-Image-Loader
    Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/universal-imageloader-demo.apk?raw=true
    文檔介紹:http://www.intexsoft.com/blog/item/74-universal-image-loader-part-3.htmlgithub

  2. picasso
    square開源的圖片緩存
    項目地址:https://github.com/square/picasso
    文檔介紹:http://square.github.io/picasso/
    特色:(1)能夠自動檢測adapter的重用並取消以前的下載
    (2)圖片變換
    (3)能夠加載本地資源
    (4)能夠設置佔位資源
    (5)支持debug模式web

  3. ImageCache
    圖片緩存,包含內存和Sdcard緩存
    項目地址:https://github.com/Trinea/AndroidCommon
    Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
    文檔介紹:http://www.trinea.cn/android/android-imagecache/
    特色:(1)支持預取新圖片,支持等待隊列
    (2)包含二級緩存,可自定義文件名保存規則
    (3)可選擇多種緩存算法(FIFO、LIFO、LRU、MRU、LFU、MFU等13種)或自定義緩存算法
    (4)可方便的保存及初始化恢復數據
    (5)支持不一樣類型網絡處理
    (6)可根據系統配置初始化緩存等
    ajax

3、網絡相關

  1. Asynchronous Http Client for Android
    Android異步Http請求
    項目地址:https://github.com/loopj/android-async-http
    文檔介紹:http://loopj.com/android-async-http/
    特色:(1) 在匿名回調中處理請求結果
    (2) 在UI線程外進行http請求
    (3) 文件斷點上傳
    (4) 智能重試
    (5) 默認gzip壓縮
    (6) 支持解析成Json格式
    (7) 可將Cookies持久化到SharedPreferences算法

  2. android-query
    異步加載,更少代碼完成Android加載
    項目地址:https://github.com/androidquery/androidquery 或 https://code.google.com/p/android-query/
    文檔介紹:https://code.google.com/p/android-query/#Why_AQuery?
    Demo地址:https://play.google.com/store/apps/details?id=com.androidquery
    特色:https://code.google.com/p/android-query/#Why_AQuery?

  3. Async Http Client
    Java異步Http請求
    項目地址:https://github.com/AsyncHttpClient/async-http-client
    文檔介紹:http://sonatype.github.io/async-http-client/

  4. Ion
    支持圖片、json、http post等異步請求
    項目地址:https://github.com/koush/ion
    文檔介紹:https://github.com/koush/ion#more-examples

  5. HttpCache
    Http緩存
    項目地址:https://github.com/Trinea/AndroidCommon
    Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
    文檔介紹:http://www.trinea.cn/android/android-http-cache
    特色是:(1) 根據cache-control、expires緩存http請求
    (2) 支持同步、異步Http請求
    (3) 在匿名回調中處理請求結果
    (4) 在UI線程外進行http請求
    (5) 默認gzip壓縮

  6. Http Request
    項目地址:https://github.com/kevinsawicki/http-request
    文檔介紹:https://github.com/kevinsawicki/http-request#examples

  7. okhttp
    square開源的http工具類
    項目地址:https://github.com/square/okhttp
    文檔介紹:http://square.github.io/okhttp/
    特色:(1) 支持SPDY( http://zh.wikipedia.org/wiki/SPDY )協議。SPDY協議是Google開發的基於傳輸控制協議的應用層協議,經過壓縮,多路複用(一個TCP連接傳送網頁和圖片等資源)和優先級來縮短加載時間。
    (2) 若是SPDY不可用,利用鏈接池減小請求延遲
    (3) Gzip壓縮
    (4) Response緩存減小沒必要要的請求

  8. Retrofit
    RESTFUL API設計
    項目地址:https://github.com/square/retrofit
    文檔介紹:http://square.github.io/retrofit/

  9. RoboSpice
    Android異步網絡請求工具,支持緩存、REST等等
    項目地址:https://github.com/stephanenicolas/robospice
    Demo地址:https://github.com/stephanenicolas/RoboDemo/downloads

4、數據庫 orm工具包

orm的db工具類,簡化建表、查詢、更新、插入、事務、索引的操做

  1. greenDAO
    Android Sqlite orm的db工具類
    項目地址:https://github.com/greenrobot/greenDAO
    文檔介紹:http://greendao-orm.com/documentation/
    官方網站:http://greendao-orm.com/
    特色:(1) 性能佳
    (2) 簡單易用的API
    (3) 內存小好小
    (4) 庫大小小

  2. ActiveAndroid
    Android Sqlite orm的db工具類
    項目地址:https://github.com/pardom/ActiveAndroid
    文檔介紹:https://github.com/pardom/ActiveAndroid/wiki/_pages

  3. Sprinkles
    Android Sqlite orm的db工具類
    項目地址:https://github.com/emilsjolander/sprinkles
    文檔介紹:http://emilsjolander.github.io/blog/2013/12/18/android-with-sprinkles/
    特色:比較顯著的特色就是配合https://github.com/square/retrofit 能保存從服務器獲取的數據

  4. ormlite-android
    項目地址:https://github.com/j256/ormlite-android
    文檔介紹:http://ormlite.com/sqlite_java_android_orm.shtml

  5. Schematic
    根據SQLite生成ContentProvider
    項目地址:https://github.com/SimonVT/schematic

5、Android公共庫

  1. Guava
    Google的基於java1.6的類庫集合的擴展項目,包括collections, caching, primitives support, concurrency libraries, common annotations, string processing, I/O等等. 這些高質量的API可使你的JAVa代碼更加優雅,更加簡潔
    項目地址:https://code.google.com/p/guava-libraries/
    文檔介紹:https://code.google.com/p/guava-libraries/wiki/GuavaExplained

  2. Volley
    Google提供的網絡通訊庫,使得網絡請求更簡單、更快速
    項目地址:https://android.googlesource.com/platform/frameworks/volley
    Github地址:https://github.com/mcxiaoke/android-volley
    文檔地址:http://commondatastorage.googleapis.com/io-2013/presentations/110%20-%20Volley-%20Easy,%20Fast%20Networking%20for%20Android.pdf

  3. AndroidCommon
    Android公共庫
    項目地址:https://github.com/Trinea/AndroidCommon
    Demo地址:https://play.google.com/store/apps/details?id=cn.trinea.android.demo
    文檔介紹:http://www.trinea.cn/android/android-common-lib/
    包括:(1)緩存(圖片緩存、預取緩存、網絡緩存)
    (2) 公共View(下拉及底部加載更多ListView、底部加載更多ScrollView、滑動一頁Gallery)
    (3) Android經常使用工具類(網絡、下載、Android資源操做、shell、文件、Json、隨機數、Collection等等)

  4. shipfaster
    整合了Dagger Otto Retrofit Robolectric Picasso OkHttp,方便快速開發
    項目地址:https://github.com/pyricau/shipfaster

  5. CleanAndroidCode
    整合了Dagger Otto AndroidAnnotations,方便快速開發
    項目地址:https://github.com/pyricau/CleanAndroidCode

  6. xUtils
    基於Afinal,包含DbUtils、ViewUtils、HttpUtils、BitmapUtils四大模塊,可用於快速開發
    項目地址:https://github.com/wyouflf/xUtils

  7. Afinal
    Afinal是一個android的ioc,orm框架,內置了四大模塊功能:FinalAcitivity,FinalBitmap,FinalDb,FinalHttp。經過finalActivity,咱們能夠經過註解的方式進行綁定ui和事件。經過finalBitmap,咱們能夠方便的加載bitmap圖片,而無需考慮oom等問題。經過finalDB模塊,咱們一行代碼就能夠對android的sqlite數據庫進行增刪改查。經過FinalHttp模塊,咱們能夠以ajax形式請求http數據
    項目地址:https://github.com/yangfuhai/afinal
    官方網站:http://www.afinal.org

6、Android 高版本向低版本兼容

  1. ActionBarSherlock
    爲Android全部版本提供統一的ActionBar,解決4.0如下ActionBar的適配問題
    項目地址:https://github.com/JakeWharton/ActionBarSherlock
    Demo地址:https://play.google.com/store/apps/details?id=com.actionbarsherlock.sample.demos
    APP示例:太多了。。如今連google都在用

  2. Nine Old Androids
    將Android 3.0(Honeycomb)全部動畫API(ObjectAnimator ValueAnimator等)兼容到Android1.0
    項目地址:https://github.com/JakeWharton/NineOldAndroids
    Demo地址:https://play.google.com/store/apps/details?id=com.jakewharton.nineoldandroids.sample
    文檔介紹:http://nineoldandroids.com/

  3. HoloEverywhere
    將Android 3.0的Holo主題兼容到Android2.1++
    項目地址:https://github.com/Prototik/HoloEverywhere
    Demo地址:https://raw.github.com/Prototik/HoloEverywhere/repo/org/holoeverywhere/demo/2.1.0/demo-2.1.0.apk
    文檔介紹:http://android-developers.blogspot.com/2012/01/holo-everywhere.html

  4. SherlockNavigationDrawer
    將Android NavigationDrawer和ActionbarSherlock結合,解決4.0如下NavigationDrawer的適配問題
    項目地址:https://github.com/tobykurien/SherlockNavigationDrawer
    文檔地址:http://developer.android.com/training/implementing-navigation/nav-drawer.html

  5. Notifications4EveryWhere
    將Android 4.1的Notification兼容到Android2.2++
    項目地址:https://github.com/youxiachai/Notifications4EveryWhere

  6. Android Switch Widget Backport
    將Android Switch和SwitchPreference的兼容到Android2.1++
    項目地址:https://github.com/BoD/android-switch-backport
    Demo地址:https://play.google.com/store/apps/details?id=org.jraf.android.backport.switchwidget.sample
    文檔介紹:https://github.com/BoD/android-switch-backport#using-the-switch

  7. android-datepicker
    將Android 4.0的datepicker兼容到Android2.2++
    項目地址:https://github.com/SimonVT/android-datepicker

  8. GlowPadBackport
    Android 4.2的GlowPadView向後適配到API4以上
    項目地址:https://github.com/frakbot/GlowPadBackport

7、多媒體相關

  1. cocos2d-x
    跨平臺的2d遊戲框架,支持Android、IOS、Linux、Windows等衆多平臺
    項目地址:https://github.com/cocos2d/cocos2d-x
    文檔介紹:http://www.cocos2d-x.org/wiki
    官方網站:http://www.cocos2d-x.org/

  2. Vitamio
    是一款Android與iOS平臺上的全能多媒體開發框架
    項目地址:https://github.com/yixia/VitamioBundle
    網站介紹:http://www.vitamio.org/docs/
    特色:(1) 全面支持硬件解碼與GPU渲染
    (2) 可以流暢播放720P甚至1080P高清MKV,FLV,MP4,MOV,TS,RMVB等常見格式的視頻
    (3) 在Android與iOS上跨平臺支持 MMS, RTSP, RTMP, HLS(m3u8)等常見的多種視頻流媒體協議,包括點播與直播。

  3. PhotoProcessing
    利用ndk處理圖片庫,支持Instafix、Ansel、Testino、XPro、Retro、BW、Sepia、Cyano、Georgia、Sahara、HDR、Rotate(旋轉)、Flip(翻轉)等各類特效
    項目地址:https://github.com/lightbox/PhotoProcessing
    Demo地址:https://github.com/Trinea/TrineaDownload/blob/master/photo-processing.apk?raw=true

  4. Android StackBlur
    圖片模糊效果工具類
    項目地址:https://github.com/kikoso/android-stackblur
    Demo地址:https://github.com/kikoso/android-stackblur/blob/master/StackBlurDemo/bin/StackBlurDemo.apk?raw=true
    文檔介紹:https://github.com/kikoso/android-stackblur#usage

  5. Bitmap Smart Clipping using OpenCV
    圖片智能裁剪保留重要部分顯示
    項目地址:https://github.com/beartung/tclip-android
    利用淘寶的 http://code.taobao.org/p/tclip/ 庫完成
    一淘玩客正在使用的圖片裁剪,自動識別圖片中的重要區域,而且在圖片裁剪時保留重要區域
    特色:(1). 能進行人臉識別。圖片中有人臉,將自動視爲人臉區域爲重要區域,將不會被裁剪掉
    (2).自動其它重要區域。若是圖片中未識別出人臉,則會根據特徵分佈計算出重區域

  6. Cropper
    圖片局部剪切工具,可觸摸控制選擇區域或旋轉
    項目地址:https://github.com/edmodo/cropper
    使用介紹:https://github.com/edmodo/cropper/wiki
    效果圖:Renderings

  7. android-crop
    圖片裁剪Activity
    項目地址:https://github.com/jdamcd/android-crop
    效果圖:Renderings

  8. TileView
    可分塊顯示大圖,支持2D拖動、雙擊、雙指放大、雙指捏合
    項目地址:https://github.com/moagrius/TileView
    Demo地址:http://moagrius.github.io/TileView/TileViewDemo.apk

  9. BlurEffectForAndroidDesign
    圖片模糊效果
    項目地址:https://github.com/PomepuyN/BlurEffectForAndroidDesign

  10. android-eye
    PC端網頁查看同一局域網內的手機攝像頭內容,能夠用來監控哦
    項目地址:https://github.com/Teaonly/android-eye
    Demo地址:https://play.google.com/store/apps/details?id=teaonly.droideye

  11. libpng for Android
    PNG圖片的jni庫,支持幾乎png的全部特性
    項目地址:https://github.com/julienr/libpng-android
    文檔地址:http://www.libpng.org/pub/png/libpng.html

  12. android-gpuimage
    基於GPU的圖片濾鏡
    項目地址:https://github.com/CyberAgent/android-gpuimage

  13. AndroidFaceCropper
    圖片臉部自動識別,將識別後的局部圖片返回
    項目地址:https://github.com/lafosca/AndroidFaceCropper

  14. Android Video Crop
    利用TextureView播放和剪切視頻,相似ImageView.setScaleType
    項目地址:https://github.com/dmytrodanylyk/android-video-crop
    Demo地址:https://github.com/lafosca/AndroidFaceCropper/releases/download/1.0/FaceCropper-sample-debug-unaligned.apk

  15. svg-android
    Android Svg矢量圖形支持
    項目地址:https://github.com/japgolly/svg-android https://github.com/japgolly/svg-android

  16. Android Visualizer
    從Android MediaPlayer得到音頻,而後像iTunes及WinAmp同樣展現音軌
    項目地址:https://github.com/felixpalmer/android-visualizer

8、事件總線(訂閱者模式)

經過發佈/訂閱事件解耦事件發送和接受,從而簡化應用程序組件(Activities, Fragments及後臺線程)之間的通訊

  1. EventBus
    greenrobot的開源項目
    項目地址:https://github.com/greenrobot/EventBus
    文檔介紹:https://github.com/greenrobot/EventBus#general-usage-and-api
    特色:(1) 支持在不一樣類型的線程中處理訂閱,包括髮布所在線程,UI線程、單一後臺線程、異步線程
    (2) 支持事件優先級定義,支持優先級高的訂閱者取消事件繼續傳遞,支持粘性事件,是否是跟系統的有序廣播、粘性廣播很像啊
    (3) 不是基於annotations
    (4) 性能更優
    (5) 體積小
    (6) 支持單例建立或建立多個對象
    (7) 支持根據事件類型訂閱

  2. Otto
    Square的開源項目,基於Guava的Android優化
    項目地址:https://github.com/square/otto
    文檔介紹:http://square.github.io/otto/
    EventBus與Otto的功能及性能對比文檔
    EventBus與Otto性能對比Demo Apk

9、傳感器

  1. Great Android Sensing Toolkit
    Android感應器工具包,包含示例及使用過程當中可能須要的算法
    項目地址:https://github.com/gast-lib/gast-lib
    Demo地址:https://play.google.com/store/apps/details?id=root.gast.playground
    文檔介紹:https://github.com/gast-lib/gast-lib#documentation

  2. SensorManager
    Android傳感器管理
    項目地址:https://github.com/nlathia/SensorManager
    文檔介紹:https://docs.google.com/document/d/1TqThJULb-4e6TGb1gdkAaPCfyuXStjJpbnt7a0OZ9OE/edit

  3. GPSLogger
    記錄GPS信息
    項目地址:https://github.com/mendhak/gpslogger
    Demo地址:https://play.google.com/store/apps/details?id=com.mendhak.gpslogger
    文檔介紹:http://code.mendhak.com/gpslogger/

  4. Pedometer
    計步器,使用硬件計步感應器
    項目地址:https://github.com/j4velin/Pedometer

  5. leapcast
    ChromeCast模擬器的App
    項目地址:https://github.com/dz0ny/leapcast

  6. Arduino-Communicator
    與Arduino通訊的App
    項目地址:https://github.com/jeppsson/Arduino-Communicator

  7. android-pedometer
    Android計步器
    項目地址:https://github.com/bagilevi/android-pedometer
    Demo地址:http://pedometer.googlecode.com/files/Pedometer-1.4.apk

  8. OwnTracks for Android
    本身的軌跡記錄
    項目地址:https://github.com/owntracks/android

  9. Shake Detector library for Android
    Android手機震動搖晃檢測庫,提供供UI線程調用的回調接口
    項目地址:https://github.com/tbouron/ShakeDetector
    Demo地址:https://play.google.com/store/apps/details?id=com.github.tbouron.shakedetector.example

  10. Android heart rate monitor
    Android心跳檢測
    項目地址:https://github.com/phishman3579/android-heart-rate-monitor

  11. Bluetooth LE Library for Android
    藍牙源信息,包括寶庫Mac、更新時間、RSSI、UUID、信號源距離、影響範圍等信息
    項目地址:https://github.com/alt236/Bluetooth-LE-Library---Android
    Demo地址:https://play.google.com/store/apps/details?id=uk.co.alt236.btlescan

  12. farebot
    經過NFC 從公交卡中讀取數據的一個應用
    項目地址:https://github.com/codebutler/farebot

10、安全

  1. SQLCipher
    Sqlite加密工具
    項目地址:https://github.com/sqlcipher/sqlcipher
    幫助文檔:http://sqlcipher.net/sqlcipher-for-android/

  2. Conceal
    快速高效的進行文件加密解密
    項目地址:https://github.com/facebook/conceal
    文檔介紹:https://github.com/facebook/conceal#usage

  3. Android-PasscodeLock
    應用鎖,每次啓動或從任何Activity啓動應用都須要輸入四位數字的密碼方可進入
    項目地址:https://github.com/wordpress-mobile/Android-PasscodeLock
    Demo地址:https://play.google.com/store/apps/details?id=com.sothree.umano
    APP示例:Wordpress Android,支付寶,挖財

  4. GlowPadBackport
    將Android4.2的鎖屏界面解鎖擴展到Android1.6及1.6+
    項目地址:https://github.com/rock3r/GlowPadBackport
    Demo地址:https://play.google.com/store/apps/details?id=net.sebastianopoggi.samples.ui.GlowPadSample
    效果圖:Renderings

  5. GlowPadView
    Android 4鎖屏界面解鎖
    項目地址:https://github.com/nadavfima/GlowPadView
    效果圖:https://raw.github.com/nadavfima/GlowPadView/master/example.png

  6. android-lockpattern
    Android的圖案密碼解鎖
    項目地址:https://code.google.com/p/android-lockpattern/
    Demo地址:https://play.google.com/store/apps/details?id=group.pals.android.lib.ui.lockpattern.demo
    使用介紹:https://code.google.com/p/android-lockpattern/wiki/QuickUse
    示例APP:Android開機的圖案密碼解鎖,支付寶的密碼解鎖

11、插件化

  1. dynamic-load-apk
    Android動態加載Apk,熱部署。支持必定程度不安裝升級
    項目地址:https://github.com/singwhatiwanna/dynamic-load-apk
    文檔介紹:http://blog.csdn.net/singwhatiwanna/article/details/22597587

  2. xCombine
    Android App插件式插件開發,插件必須先安裝
    項目地址:https://github.com/wyouflf/xCombine
    文檔介紹:http://my.oschina.net/u/1171837/blog/155377

  3. Android Plugin Framework
    Android插件式開發,開放的源碼目前不完整
    項目地址:https://github.com/umeng/apf

12、文件

對不一樣文檔類型的處理,包括PDF、Word、EPub、Html、Zip等

  1. purePDF
    容許從任何運行的SWF文件讀取和建立PDF文檔
    項目地址:https://github.com/sephiroth74/purePDF

  2. Office 365 SDK for Android Preview
    可支持Microsoft SharePoint Lists, Microsoft SharePoint Files, Microsoft Exchange Calendar, Microsoft Exchange Contacts, Microsoft Exchange Mail
    項目地址:https://github.com/OfficeDev/Office-365-SDK-for-Android

  3. OpenSpritz-Android
    EPub閱讀器
    項目地址:https://github.com/OnlyInAmerica/OpenSpritz-Android

  4. jsoup
    一個解析html的java庫,可方便的提取和操做數據
    項目地址:https://github.com/jhy/jsoup
    官方網站:http://jsoup.org/
    做用:(1) 從一個url、文件或string得到html並解析
    (2) 利用dom遍歷或css選擇器查找、提取數據
    (3) 操做html元素
    (4) 根據白名單去除用於提交的非法數據防止xss攻擊
    (5) 輸出整齊的html

  5. ZIP
    java壓縮和解壓庫
    項目地址:https://github.com/zeroturnaround/zt-zip
    文檔介紹:https://github.com/zeroturnaround/zt-zip#examples
    做用:(1) 解壓和壓縮,並支持文件夾內遞歸操做
    (2) 支持包含和排除某些元素
    (3) 支持重命名元素
    (4) 支持遍歷zip包內容
    (5) 比較兩個zip包等功能

十3、其餘

    1. Salvage view
      帶View緩存的Viewpager PagerAdapter,很方便使用
      項目地址:https://github.com/JakeWharton/salvage

    2. Android Priority Job Queue
      Android後臺任務隊列
      項目地址:https://github.com/path/android-priority-jobqueue
      文檔介紹:https://github.com/path/android-priority-jobqueue#getting-started

    3. Cobub Razor
      開源的mobile行爲分析系統,包括web端、android端,支持ios和window phone
      項目地址:https://github.com/cobub/razor
      Demo地址:http://demo.cobub.com/razor
      網站介紹:http://dev.cobub.com/

    4. Countly
      Android移動端數據採集分析系統
      項目地址:https://github.com/Countly/countly-sdk-android
      官網地址:https://count.ly/

    5. aFileChooser
      文件選擇器,可內嵌到程序中,而無需使用系統或三方文件選擇器。
      項目地址:https://github.com/iPaulPro/aFileChooser

    6. androidpn
      基於xmpp協議的消息推送解決方案,包括服務器端和android端。
      項目地址:https://github.com/dannytiehui/androidpn

    7. Bolts
      Android的異步編程模式
      項目地址:https://github.com/BoltsFramework/Bolts-Android/
      與AsyncTask比較:(1) 使用的是無大小限制的線程池
      (2) 任務可組合可級聯,防止了代碼耦合

    8. CastCompanionLibrary-android
      使Android程序中更快的接入Google Cast
      項目地址:https://github.com/googlecast/CastCompanionLibrary-android
      文檔介紹:https://developers.google.com/cast/

    9. CastVideos-android
      從Android設備分享Video經過Google Cast
      項目地址:https://github.com/googlecast/CastVideos-android
      文檔介紹:https://developers.google.com/cast/

    10. Uninstall_Statics
      Android應用自身被卸載監聽及打開瀏覽器等反饋功能實現
      項目地址:https://github.com/sevenler/Uninstall_Statics
      文檔介紹:http://www.cnblogs.com/zealotrouge/p/3157126.html
      http://www.cnblogs.com/zealotrouge/p/3159772.html

    11. Memento
      保證在系統配置改變時,Activity中的某些數據能夠簡單安全的保持不變
      項目地址:https://github.com/mttkay/memento
      文檔介紹:https://github.com/mttkay/memento#usage

    12. FreeFlow
      佈局引擎,更簡單的建立自定義佈局,而且當數據和佈局改變時更美觀的過渡動畫
      項目地址:https://github.com/Comcast/FreeFlow
      Demo地址:https://github.com/Comcast/FreeFlow/releases

    13. Android Gesture Detectors Framework
      Android手勢框架,支持雙指旋轉、移動、平移、縮放等
      項目地址:https://github.com/Almeros/android-gesture-detectors

    14. Mapbox Android SDK
      Android Map的替代版
      項目地址:https://github.com/mapbox/mapbox-android-sdk

    15. Activity animation
      Activity跳轉動畫,支持各個方向波浪的效果
      項目地址:https://github.com/flavienlaurent/activityanimation
      在線演示:https://www.youtube.com/watch?v=-E0sc6w_Jck

    16. KryoNet
      經過NIO提供客戶端和服務器端TCP/UDP網絡傳輸的Java庫
      項目地址:https://github.com/EsotericSoftware/kryonet

    17. Rebound
      一個模仿彈簧反彈的Java庫,可用於建立動畫
      項目地址:https://github.com/facebook/rebound

    18. Android Social Networks
      社交網絡接入統一管理器,可方便的從Twitter, LinkedIn, Facebook, Google Plus登錄、得到我的信息、發送消息、發送專篇、添加或刪除好友
      項目地址:https://github.com/antonkrasov/AndroidSocialNetworks
      Demo地址:https://play.google.com/store/apps/details?id=com.github.androidsocialnetworks.apidemos

相關文章
相關標籤/搜索