Common third-party framework rollup used by Android development

Source: Internet
Author: User
Tags xml parser eventbus

This article reproduced: http://blog.csdn.net/liuhaomatou/article/details/44857005

1, Volley

Project Address Https://github.com/smanikandan14/Volley-demo
(1) Asynchronous download of JSON, image, etc.;
(2) Ordering of network requests (scheduling)
(3) Priority processing of network requests
(4) Cache
(5) Multi-level cancellation request
(6) Linkage with activity and life cycle (simultaneous cancellation of all network requests at end of activity)

2, android-async-http  

project address: https://github.com/loopj/android-async-http
Document Description: http://loopj.com/android-async-http/ 
  (1) Processing request results in an anonymous callback
  (2) HTTP request outside the UI thread
  (3) file breakpoint upload
  (4) Smart retry
  (5) Default gzip compression
  (6) Support parsing to JSON format
  (7) Cookies can be persisted to sharedpreferences

3, afinal framework

Project address: Https://github.com/yangfuhai/afinal
There are four main modules:
  (1)   Database module: An ORM framework in Android that uses a thread pool to manipulate SQLite.
  (2) Annotation module: An IOC framework in Android that allows UI binding and event binding in a fully annotated manner. No need for Findviewbyid and Setclicklistener.
  (3) Network module: encapsulates HTTP data requests via HttpClient, supports Ajax loading, and supports downloading and uploading of file functions.
  (4) Picture cache module: When loading bitmap through Finalbitmap,imageview, there is no need to consider the phenomenon of image dislocation when the Oom and Android containers quickly slide during the bitmap loading process.
             Finalbitmap can configure the number of thread preempted threads, cache size, cache path, Loads display animations, and so on. Finalbitmap memory management uses the LRU algorithm,
             Do not use weak references (android2.3 after Google has not recommended the use of weak references, android2.3 after the forced recovery of soft and weak references, details of the official Android document),
              better management of bitmap memory. Finalbitmap can customize the downloader to extend other protocols to display network pictures, such as FTP. You can also customize the bitmap display,
             Play animations when ImageView display pictures (the default is the gradient animation display).

4. Xutils Frame

Project Address: Https://github.com/wyouflf/xUtils
There are four main modules:
(1) Database module: The ORM Framework in Android, a line of code can be used to increase the deletion of the search;
Support transactions, closed by default;
Annotations can be used to customize table names, column names, foreign keys, uniqueness constraints, NOT NULL constraints, check constraints, etc. (Please note the table and column names when confusion is required);
Support for binding foreign keys, saving entities when the foreign key associated entities are automatically saved or updated;
Automatic loading of foreign key associated entities, support delay loading;
Support chain expression query, more intuitive query semantics, refer to the following introduction or sample examples.
(2) Note module: The IOC framework in Android, full annotation can be UI, resource and event binding;
New event binding mode, the use of obfuscation tools can still work properly;
Currently supports 20 commonly used event bindings, see Viewcommoneventlistener Class and package com.lidroid.xutils.view.annotation.event.
(3) Network module: Support synchronous, asynchronous way of request;
Support large file upload, upload large files will not oom;
Support Get,post,put,move,copy,delete,head,options,trace,connect request;
Download support 301/302 Redirect, support setting whether to rename downloaded files according to Content-disposition;
A request to return text content (by default, only get requests enabled) supports caching, setting the default expiration time and the expiration time for the current request.
(4) Picture cache module: When loading the bitmap, there is no need to consider the phenomenon of the image dislocation when the Oom and the Android container move quickly during the bitmap loading process.
Support to load network pictures and local images;
The memory management uses the LRU algorithm, better manages the bitmap memory;
Configurable line preempted thread count, cache size, cache path, load display animation, etc...

5, thinkandroid

Project address: Https://github.com/white-cat/ThinkAndroid
There are the following modules:
  (1)   MVC module: Implementing the separation of views from the model.
  (2)   IOC module: The IOC module in Android, which is fully annotated to allow UI binding, reading of resources in Res, and initialization of objects.  
  (3)   Database module: An ORM framework in Android that uses a thread pool to manipulate SQLite.   
  (4)   HTTP Module: Encapsulates HTTP data requests via HttpClient and supports asynchronous and synchronous loading.
  (5)   Cache module: With simple configuration and design can be well implemented cache, the cache can be configured arbitrarily
  (6)   Picture Cache module: ImageView loading pictures without taking into account the image during the loading process of oom and the Android container rapid sliding when the picture dislocation phenomenon.
  (7)   Configurator module: an easy to implement pairing configuration, the current configuration file can support the preference, the properties of the configuration to access.
  (8)   Log printing module: Can be quickly and easily to achieve log printing, support for the expansion of log printing, currently supports writing to SDcard local printing, as well as console printing
  (9)   Downloader module: Can be a simple implementation of multi-threaded download, background download, breakpoint continuation, download control, such as Start, pause, delete and so on.
  (10) Network Status Detection module: Check the network status when it is changed

6, Loonandroid

Project Address: Https://github.com/gdpancheng/LoonAndroid
The main modules are:
(1) Auto-inject frame (only need to inherit the application within the frame)
(2) Picture loading frame (multi-cache, automatic recovery, maximum memory security)
(3) Network request module (inherits basically all HTTP requests now)
(4) Eventbus (integration of an open source framework)
(5) Validation Framework (integrated open source framework)
(6) JSON parsing (supports parsing into collections or objects)
(7) database (I don't know who wrote it and forgot it)
(8) Multi-threaded breakpoint Download (automatically determine whether to support multi-threading, to determine whether it is redirected)
(9) Automatic Update module
(10) A series of tool classes

7, Kjframeforandroid

Project Address: Http://git.oschina.net/kymjs/KJFrameForAndroid#git-readme

GitHub Project Address:
Https://github.com/kymjs/KJFrameForAndroid
Alternate Project Address:
Http://git.oschina.net/kymjs/KJFrameForAndroid

Kjframeforandroid, also known as Kjlibrary, is an ORM and IOC framework for Android. It also encapsulates the framework of bitmap and HTTP operations in Android, making it easier to use;
Kjframeforandroid's design philosophy is to simplify Android application-level development by encapsulating complex and complex operations in the Android native SDK, enabling fast and secure development of apps. We advocate the least amount of code to complete the most operations, with the highest efficiency, to complete the most complex functions.
At the same time, Kjframeforandroid is a free, open-source, easy-to-use Android application Development framework that complies with the Apache Licence 2.0 Open Source protocol, which is divided into five main modules: Uilibrary,utilslibrary, Httplibrary,bitmaplibrary,dblibrary.

8. androidannotations

Xutils is the rapid development framework of domestic comparison fire, but its annotation mechanism is not too stable and the annotations are also relatively small, a foreign framework mainly focused on the development of annotations, simplifying the writing of Android code, in addition to the characteristics of dependency injection, but also integrates the Ormlite, The rest template in Spring-android. It is very convenient to use and greatly improves the development efficiency.

1. Download Androidannotations:

GIT website: https://github.com/excilys/androidannotations

The two most important jar packages in the project are: Androidannotations-api-3.0.1.jar and Androidannotations-3.0.1.jar
2. Create a new Android project, Then copy the Androidannotations-api-3.0.1.jar to the Libs directory, create a new folder at the root of the project, name Compile-libs, and then copy Androidannotations-3.0.1.jar to that directory

3. Right-click on your project, select "Properties" in the pop-up menu, find Java Compiler, make sure Compiler compliance level is set to 1.6, otherwise the processor will not work

4. Then set the project properties: Right-->properties->java compiler->annotation processing Select Enable project specific settings on this page.

5. Go to Factory Path below Annotation processing in Java Compiler, where Androidannotations-3.0.1.jar is added.

Note 1: @ViewById is similar to the Findviewbyid feature, if the resource ID is not set after Viewbyid, it is automatically found with the same ID resource as the variable name.

NOTE 2: @Click Click event-handling annotations.

Note 3: @UiThread the annotations of the background UI thread, eliminating the handler and so on.

Note 4: @EActivity the annotations that prompt activity, notice that the annotation compiles the activity into activity_, noting that there is an underscore "_", so you need to add a slip line to the Androidmanifest.xml file

Note 5: @AfterViews refers to code that executes after the view class has been injected.



Effects:

http://www.androidviews.net/

http://www.theultimateandroidlibrary.com/

Common effects:

1. Https://github.com/novoda/ImageLoader asynchronously loads pictures, caches, generates thumbnails, and basically every application will need this lib.
Android-query Frame
2. Https://github.com/chrisbanes/Android-PullToRefresh similar to Sina Weibo, Twitter, dropdown refresh list, more bull is also support pull-up load more. Not just the ListView, but also the GridView support.

3. Https://github.com/jfeinstein10/SlidingMenu and Https://github.com/dmitry-zaitsev/AndroidSideMenu navigation drawer

Https://github.com/SimonVT/android-menudrawer Navigation Drawer

4. http://actionbarsherlock.com/and Https://github.com/JakeWharton/ActionBarSherlock Actionbar.

5 Https://github.com/TonicArtos/StickyGridHeaders and Https://github.com/emilsjolander/StickyListHeaders ListView Navigation Effects

6 Https://github.com/TheLevelUp/android-left-locked-gallery Gallery Draw effect

7 Https://github.com/huewu/PinterestLikeAdapterView GridView Dislocation effect Https://github.com/youxiachai/pinterest-like-adapter-view

8 Https://github.com/47deg/android-swipelistview implements a custom ListView cell that can be slid to display the expansion panel.

9 Https://github.com/siyamed/android-satellite-menu has a series of buttons popping up

Ten Https://github.com/maurycyw/StaggeredGridView staggered GridView

Https://github.com/dodola/android_waterfall https://github.com/youxilua/waterfall4android

Https://github.com/dodola/WaterFallExt Waterfall Stream

Https://github.com/daizhenjun/ImageFilterForAndroid image Processing Effect

Https://github.com/nostra13/Android-Universal-Image-Loader Asynchronous load picture, Magnum picture load ListView GridView imagepage Imagegaller

Example: http://blog.csdn.NET/banketree/article/details/8004475

Https://github.com/JakeWharton/Android-ViewPagerIndicator has a title page slide effect

Https://github.com/pakerfeldt/android-viewflow viewflow Picture Slide

https://code.google.com/p/android-wheel/Roller Effect

Http://www.apkbus.com/android-2-1.html

Framework:

1. https://github.com/excilys/androidannotations a very good fast-developing framework, with a large number of annotation to replace, similar to Roboguice

2 Ormlite SQLite's ORM Framework/greendao

3 Chinese characters to pinyin pinyin4j and Hanzitopinyin

4 Aacplayer

5 Gson JSON frame Fastjson

6 Otto is an event Bus mode class library for the Android system. Used to simplify communication between application components.

7 afinal Framework is an open-source Android ORM and IOC application development framework

8 xutils originated from the afinal framework, the afinal is heavily reconstructed, enabling the Xutils to support large file uploads and more comprehensive HTTP request protocol support

9 dom4j XML Parser

Vtd-xml an extract-free XML parsing method http://my.oschina.net/u/1171837/blog/147544 Download

Android XMPP push Download

Jsoup web crawler

Acra customized Android crash reporting library and backend system

VLC Video Chat

Spydroid http://blog.csdn.net/xiaoliouc/article/details/8493161

Project article:

    • Apollo Music Player: just one player, but very well implemented
    • Oschina Client: Oschina website Client Oh, WP version, iOS version has open source
    • Xabber Real-time chat tool (based on XMPP protocol): No, it's better than the other kind.
    • Four meta Sina Weibo client: Today only know is open source, hurriedly collection
    • Google IO: Google developer Conference application, although a bit difficult to understand, or very valuable (such as the picture loading)
    • EoE Client: EoE website Android client also open source

Component article:

  • Android-flip: Can achieve a kind of gorgeous flipboard like the flip page
  • Drag-sort-listview: You can drag the item reorder Listview, which works great
  • Holoeverywhere: Cough, some classmates like the holo style of Android very much, this project definitely let you happy
  • Universal-imageloader: This classic asynchronous picture loaded, not much to say
  • Jazzyviewpager: This thing can make Viewpager turn up cool, who use who know ~ ~
  • Slidingmenu: This is the various implementations of the drawer interface (which is Facebook kind), the best, the wood has one!
  • Stickylistheaders:iphone often have this, is the listview of ... Don't know how to explain, download it yourself.
  • Android-pulltorefresh: drop-down refresh, a very common component
  • Staggeredgridview: This is a waterfall flow layout implementation, is not perfect, but as a learning case or on the basis of expansion is good
  • Android-async-http:android asynchronous request component, I personally used to use asynctask, but this implementation is very good, also recommended to everyone
  • Actionbarsherlock: Well-known Actionbar compatibility program on 2.x, similar compatibility components There are many, time for everyone to list;
  • FACEBOOK-ANDROID-SDK: More than just an SDK so simple oh, than a wave and someone's SDK strong several orders of magnitude;
  • Nineoldandroids: Want to use Android 3.0 new animation API on the 2.xSDK, that is it; the students who have not used must try Oh, very convenient ~
  • Android-swipelistview: Let the ListView item slide to the right, the new Gmail and pocket are useful
  • Datadroid:android's restful package, never heard of restful? You're going to die.
  • Eventbus: And the above datadroid also belong to the beautification of the underlying code, this LIB simplifies the transfer of events between different components
  • android-switch-backport:android3.0 above the switch, have good people to migrate to 2.x, ha
  • Pagerslidingtabstrip: The latest version of the GooglePlay tab effect, can be dazzling
  • Chromeview: We all know webview, also know that Android Chrome and its own kernel, this project is to export chrome kernel to make a chromeview, we can use in their projects, interested can play
  • Picasso: Images from Square are loaded asynchronously, as if they were recently open source, and the API style is unique.

Web page:

    • GitHub: A lot of projects, is not easy to dig, but the developer must
    • Oschina: Once general, now the more do the better, a lot of open source projects;
    • Eoeandroid: After some finishing, now very strong, small works mostly;
    • Androidviews: I once wanted to be a Web site, a collection of many open source components
    • Crawl the blog:


Picture Processing framework:

Blur image processing:stackblur

PDF frame: IText mupdf droidtext com/sun/pdfview com.lowagie.text (iText-2.1.7)



1.SlidingMenu

Official website: https://github.com/jfeinstein10/SlidingMenu

Users using: http://blog.csdn.net/yangyu20121224/article/details/9255829

2.android-async-http

Https://github.com/loopj/android-async-http

3.PullToRefresh

Drop-down Refresh

Https://github.com/chrisbanes/Android-PullToRefresh

Https://github.com/wuxia2001/mylove

Https://github.com/hackerzhou/Love


Mall: Https://github.com/GeekZooStudio/ECMobile_Android

Android Server demo:https://github.com/nanohttpd/nanohttpd

Https://github.com/android-cjj

http://blog.csdn.net/dj0379/article/details/38356741

: Https://github.com/motianhuo/wechat/tree/master/WeChat

Awesome-android-ui Https://github.com/wasabeef/awesome-android-ui

Https://github.com/stormzhang/9GAG

Beautiful dialog box: sweet-alert-dialog Https://github.com/pedant/sweet-alert-dialog

The hottest open source project on GitHub: http://www.open-open.com/lib/view/open1388317199516.html

Open source project source code Analysis: http://www.codekk.com/open-source-project-analysis

Drop-down refresh: http://blog.csdn.net/footballclub/article/details/46982115

Tap button Water Ripple diffusion demo:https://github.com/rey5137/material

http://www.aswifter.com/

Open Source Control Library file Summary: http://www.fresco-cn.org/

Nice UI Library all tidied up (PS: This is someone else to organize, I just help to share): Https://github.com/wasabeef/awesome-android-ui

Libraries related to Android charts: Https://github.com/lubeast/MPAndroidChart

Achartengine (ACE) is a Google Open Source Chart library (for Android). It is powerful and supports a variety of charts such as scatter, line, pie, bubble, histogram, short bar, gauge, and more.

The project address is located at: http://code.google.com/p/achartengine/Open source Material design watercress Client (A Material design app for douban.com) https://g Ithub.com/dreamingincodezh/douya

Common third-party framework rollup used by Android development

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.