[Android] Excellent framework source code summary, android source code

Source: Internet
Author: User

[Android] Excellent framework source code summary, android source code

Android quick development framework LoonAndroid

:Http://www.devstore.cn/code/info/74.html

The main modules are as follows:
(1) Automatic injection framework (only applications within the framework can be inherited)
(2) image loading framework (Multi-cache, automatic recovery to maximize Memory Security)
(3) network request module (inheriting basically all current http requests)
(4) eventbus (integrated with an open-source framework)
(5) Verification Framework (integrated open-source framework)
(6) json parsing (supports parsing to a set or object)
(7) database (I don't know which one has forgotten it)
(8) multi-thread breakpoint download (automatically determines whether multithreading is supported and whether redirection is supported)
(9) automatic update Module
(10) A series of tools


LoonAndroid framework source code compressed package contains files


Andbase application development framework

:Http://www.devstore.cn/code/info/438.html

[Run description] To Run AndbaseDemo, Add the Andbase library in the file to the demo.
1. andbase contains a large number of common development methods.
Such as network download, multi-thread and thread pool management, database ORM, image Cache Management, Image File Download and upload, Http request tool, SOAP tool, asynchronous Task, common tool class (string, date, file processing, image processing tools, and so on), can reduce redundant code in the Development of your application team, greatly improving the code maintainability and development efficiency, can avoid common mistakes caused by development negligence.
2. andbase encapsulates a large number of common controls.
Such as list page, grid page, drop-down refresh, progress box, image carousel, table, multi-thread download, sidebar, Image Upload, wheel selection, chart, Tab slide, calendar selector, etc.
3. Powerful AbActivity. You have no reason not to inherit it.
With this feature, you can get a simple, powerful, and configurable operation bar and a series of simple calls, such as pop-up boxes, prompt boxes, progress boxes, and secondary operation columns.
4. provides high-efficiency image Cache Management Policies, greatly saving memory, improving utilization, and improving efficiency.
The program needs to manage a large number of image resources. andbase provides a simple method to download and display images in a few steps, and supports scaling, cropping, caching, and OOM.
5. encapsulated a large number of common tool classes.
Various processing functions, including date, character, file, image, mathematics, and View universal adaptation tool, are provided in multiple scenarios.
6. Use andbase to greatly reduce handler usage, and Use callback functions to clean the code.
Handler generates a lot of code and is not easy to maintain. andbase encapsulates handler and you will find that there will be no more handler judgment statements in the basic andbase code.
7. Simple and lightweight supports the ORM framework for automatically creating tables with annotations (supports one/more-to-many Association operations ).
Writing SQL statements, creating tables, and a heavy workload. andbase provides more stupid asynchronous addition, deletion, modification, and query tools. The database can both have built-in and external cards.
8. asynchronous request to the http framework, network request standardization, support for file upload and download, get, post, and progress display.
Includes tools for asynchronous and http requests, and SOAP request tools, which are simple and practical.


ThinkAndroid framework: Http://www.devstore.cn/code/info/70.htmlThinkAndroid is a free, open-source, simple Android development framework that complies with the Apache2 open-source protocol. Its development purpose is to develop Android applications in a simple and fast manner, it includes Android mvc, simple sqlite orm, ioc module, and http module that encapsulates Android httpclitent. It has the ability to quickly build a File Cache and can easily implement caching without considering the format of cached files, it also implements the image caching function based on the File Cache module. When loading images in android, the oom and image loading dislocation problems are easily solved. He also includes a practical tool that is frequently used in mobile phone development, such as log management, configuration file management, android download device module, network switching detection, and so on.

ThinkAndroid framework source code compressed package contains files

The xUtils framework contains many practical android tools: Http://www.devstore.cn/code/info/76.htmlXUtils contains many practical android tools. XUtils is derived from the Afinal framework and has undergone a large number of reconstruction of Afinal, enabling xUtils to support large file uploads, more comprehensive http request protocol support, and more flexible ORM, more event annotations are supported and are not affected by obfuscation. XUitls is compatible with android 2.2 (api level 8) at the minimum ).

Files contained in the source code package of the xUtils framework

Android-async-http request framework: Http://www.devstore.cn/code/info/71.htmlAndroid-async-http can execute network requests through AsyncHttpClient instances, including get, put, post, head, and delete. And specify a ResponseHandlerInterface instance to receive the request results. Its main functions include: processing request results in anonymous callbacks, http requests outside the UI thread, file breakpoint uploads, smart retries, default gzip compression, parsing into Json format, and persistence of Cookies to SharedPreferences. In addition, main classes of android-async-http include AsyncHttpRequest, AsyncHttpResponseHandler,
TextHttpResponseHandler, JsonHttpResponseHandler, BaseJsonHttpResponseHandler,
RequestParams, AsyncHttpClient, and SyncHttpClient.



Slidingmenu framework: Http://www.devstore.cn/code/info/320.htmlThe slidingmenu framework can be used directly to imitate Netease news. (PS: You can set the interface effect when sliding left or right on the main interface)


Volley network request framework: Http://www.devstore.cn/code/info/75.htmlThe following functions are provided:
• Asynchronous download of JSON and Images;
• Scheduling)
• Priority processing of network requests
• Cache
• Multi-Level cancellation request
• Interaction with Activity and lifecycle (canceling all network requests at the end of Activity)
Features include: simplified network communication development, especially for loading JSON objects and images.
Its Disadvantages include: for large payloads and streaming media, these cases are not practical. The original method, such as Download Manager, must be used in the case of such data.

Volley framework source code compressed package contains files


Android orm and ioc Application Development Framework Afinal: Http://www.devstore.cn/code/info/84.htmlAfinal is an open-source android orm and ioc application development framework. It features small flexibility and less code intrusion.
In android Application Development, the ioc framework of afinal, such as ui binding and event binding, can be automatically bound through annotations. Through the afinal orm framework, you can add, delete, modify, and query android sqlite databases with a line of code without any configuration information. At the same time, afinal is embedded with simple tools such as finalHttp, allowing you to easily perform operations on http requests.

Android orm and ioc Application Development Framework Afinal compressed package contains content

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.