Android Development Framework

Source: Internet
Author: User

1, Volley project address Https://github.com/smanikandan14/Volley-demo (1) JSON, image and other asynchronous download; (2) Ordering of network requests (scheduling) (3) Priority handling of network requests (4 ) cache (5) Multi-level cancellation request (6) and activity and lifecycle linkage (cancel all network requests at the 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) supports parsing into JSON format (7) to persist cookies to sharedpreferences 3, afinal Framework Project address: https://github.com/yangfuhai/ Afinal has four main modules: (1) Database module: An ORM framework in Android, using a thread pool to manipulate SQLite. (2) Note module: The IOC framework in Android, which can be used for UI binding and event binding in a fully annotated manner. No need for Findviewbyid and Setclicklistener. (3) Network module: encapsulation HTTP data request through HttpClient, support Ajax mode loading, support downloading and uploading file function.             (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 appear during the bitmap loading process. Finalbitmap can configure the number of thread preempted threads, cache size, cache path, load display animation, etc.             Finalbitmap memory management uses the LRU algorithm, does 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 Android official documents), 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 that plays animations when ImageView displays pictures (the default is the gradient animation display).            4, Xutils Framework Project address: Https://github.com/wyouflf/xUtils There are four main modules: (1) Database module: Android in the ORM Framework, a line of code can be added and censored; support transactions, default off; Annotations can be used to customize table names, column names, foreign keys, uniqueness constraints, NOT NULL constraints, check constraints, etc. (Please note the table name and column name when confusing); Supports binding foreign keys, saving entities when the foreign key associated entities are automatically saved or updated;            Load foreign key related 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, the full annotation can be UI, resource and event binding, the new event binding method, the use of obfuscation tools can still work properly; currently supports 20 commonly used event bindings, see Viewcommon  EventListener class and package com.lidroid.xutils.view.annotation.event. (3) Network module: Support synchronous, asynchronous request; Support large file upload, upload large files will not oom; Support Get,post,put,move,copy,delete,head,options,trace,connec t request; Download support 301/302 redirect, support setting whether to rename downloaded files according to Content-disposition, request to return text content (only get request is enabled by default) support caching, set default expiration time and for current request              The Expiration time. (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 bitmap during the loading process; supports loading network pictures and local images; memory management uses LRU algorithms for better Management 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 mainly has the following modules: (1) MVC module: Implement the separation of the view and the model.   (2) IOC module: The IOC module in Android, fully annotated to enable 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: Through a simple configuration and design can be very good cache, the cache can be arbitrarily configured (6) Image cache module: ImageView loading pictures without considering the image loading process of oom and the Android container rapid sliding when the picture dislocation phenomenon.  (7) Configurator module: can be easy to implement pairing configuration operation, the current configuration file can support preference, the properties of the configuration to access. (8) Log printing module: Can be faster and easy 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 easily implemented multi-threaded download, background download, breakpoint continuation, control of the download, such as Start, pause,  Delete, and so on.  (10) Network status Detection module: When the network status changes, it is checked 6, loonandroid project address: Https://github.com/gdpancheng/LoonAndroid mainly has the following modules: (1) Auto-inject frame (only need to inherit application within frame) (2) Picture loading frame (multi-cache, auto-recycle, maximum memory Security) (3) Network request module (inherits basically all HTTP requests now) (4) Eventbus (integrates an open source  Framework) (5) Validation Framework (integrated Open source framework) (6) JSON parsing (supports parsing into collections or objects) (7) database (not knowing who wrote The Forgotten) (8) Multi-threaded breakpoint Download (automatically determine whether to support multi-threading, determine whether it is redirected) (9) Automatic Update module (10) A series of tool classes

Android Development Framework

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.