Common third-party framework rollup used by Android development

Source: Internet
Author: User
Tags xml parser eventbus

This article reproduced:

1, Volley

Project Address Https://
(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:
Document Description: 
  (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://
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://
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://
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://
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://

GitHub Project Address:
Alternate Project Address:

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:

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.


Common effects:

1. Https:// asynchronously loads pictures, caches, generates thumbnails, and basically every application will need this lib.
Android-query Frame
2. Https:// 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:// and Https:// navigation drawer

Https:// Navigation Drawer

4. Https:// Actionbar.

5 Https:// and Https:// ListView Navigation Effects

6 Https:// Gallery Draw effect

7 Https:// GridView Dislocation effect Https://

8 Https:// implements a custom ListView cell that can be slid to display the expansion panel.

9 Https:// has a series of buttons popping up

Ten Https:// staggered GridView


Https:// Waterfall Stream

Https:// image Processing Effect

Https:// Asynchronous load picture, Magnum picture load ListView GridView imagepage Imagegaller

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

Https:// has a title page slide effect

Https:// viewflow Picture Slide Effect



1. 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 Download

Android XMPP push Download

Jsoup web crawler

Acra customized Android crash reporting library and backend system

VLC Video Chat


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)


Official website:

Users using:



Drop-down Refresh




Mall: Https://

Android Server demo:


: Https://

Awesome-android-ui Https://


Beautiful dialog box: sweet-alert-dialog Https://

The hottest open source project on GitHub:

Open source project source code Analysis:

Drop-down refresh:

Tap button Water Ripple diffusion demo:

Open Source Control Library file Summary:

Nice UI Library all tidied up (PS: This is someone else to organize, I just help to share): Https://

Libraries related to Android charts: Https://

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: source Material design watercress Client (A Material design app for https://g

Common third-party framework rollup used by Android development

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: 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.