Android's Common development framework

Source: Internet
Author: User
Tags eventbus


1, Rajawali
Introduced:
The OpenGL ES 2.0/3.0 engine for Android. Can be used to make general applications or live wallpaper, of course, can also be used to make games.
Project Address: Https://github.com/Rajawali/Rajawali


2, Rxandroid
Introduced:
Rxandroid is an extension of Rxjava for Android platforms. It contains tools that simplify the development of Android.
Project Address: Https://github.com/ReactiveX/RxAndroid
3, Paginize
Introduced:
Paginize is a lightweight UI framework that uses annotations to inject layouts and view, and in addition to using annotations, the framework has two features: 1. Use the concept of page to replace fragment,2. The animation effect that comes with the iOS style when you switch the page.
Project Address: Https://github.com/neevek/Paginize


4. Otto
Introduced:
Otto is an event library (pub/sub mode) out of square that simplifies communication between application components. Otto was modified from Google's guava library, specifically optimized for the Android platform.
Project Address: Https://github.com/square/otto


5, Rebound
Introduced:
Rebound is the open Source Animation library for Facebook. This animation library can be thought of as an animation implementation that is independent of the Android framework.
Project Address: Https://github.com/facebook/rebound


6, Kjframeforandroid
Introduced:
Kjframeforandroid, also known as Kjlibrary, is a framework that helps to develop quickly. With Kjframeforandroid, you can complete HTTP requests, network picture loading, database data saving, or reading with just one line of code.
Project Address: Https://github.com/kymjs/KJFrameForAndroid


7, Xutils
Introduced:
Xutils contains a lot of useful Android tools. Xutils supports large file uploads, more comprehensive HTTP request protocol support (10 predicates), more flexible ORM, more event annotations support, and no confusion ... Xuitls minimum compatible Android 2.2 (API Level 8)
Project Address: Https://github.com/wyouflf/xUtils


Currently Xutils has four main modules:
Dbutils module:
The ORM framework in Android, a line of code can be used for the enhancement and deletion;
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.
Viewutils module:
The IOC framework in Android enables UI, resource and event bindings in a fully annotated manner;
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.
Httputils module:
Support synchronous, asynchronous requests;
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.
Bitmaputils 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...


8, Butterknife-view
Injection Tools
Introduced:
In order to reduce the frequent calls Findviewbyid (R.id ...), you can use some injection framework, you can simplify your code, so that you focus more on the actual development of the function, Butterknife is such a framework, he is the Jakewharton of the Great God works, is worth a try.
Class Exampleactivity extends Activity {
@InjectView (r.id.title) TextView title;
@InjectView (r.id.subtitle) TextView subtitle;
@InjectView (r.id.footer) TextView footer;
@Override public void OnCreate (Bundle savedinstancestate) {
Super.oncreate (savedinstancestate);
Setcontentview (r.layout.simple_activity);
Butterknife.inject (this);
TODO use "injected" views ...
}
}


This is the blog address:
http://jakewharton.github.io/butterknife/
Project Address: Https://github.com/JakeWharton/butterknife


9, CUBE-SDK
A development framework launched by Amoy
Introduced:
Cube an Android development package that can greatly improve your development efficiency. It mainly provides the API function of picture loading and network request.
Project Address: HTTPS://GITHUB.COM/ETAO-OPEN-SOURCE/CUBE-SDK
Their website: http://cube-sdk.liaohuqiu.net/cn/


10, Asimplecache
A simple caching framework
Introduced:
Asimplecache is a lightweight, open-source caching framework developed for Android. Lightweight to only one Java file (reduced by more than 10 classes). What can it cache? Ordinary strings, Jsonobject, Jsonarray, Bitmap, drawable, serialized Java objects, and byte data.
Project Address: Https://github.com/yangfuhai/ASimpleCache


11, Androidannotations
Introduced:
Androidannotations is an open source framework that allows you to develop your Android quickly, allowing you to focus on what really matters. Making the code more streamlined makes the project easier to maintain, and its goal is "Fast Android development.easy maintainance". Through a period of use discovery, compared to native Android development, really can make you a lot less code
Project Address: Https://github.com/excilys/androidannotations


12. Event Bus
Decoupling Android Modules
Introduced:
When an Android application becomes more functional, it becomes increasingly difficult to ensure efficient communication between the various parts of the application. How to solve this problem gracefully? At this point, you need to use the Eventbus. Eventbus is an event bus class library of Greenrobot's Android system, used almost as much as the square Otto we introduced earlier, to simplify communication between application components.
Project Address: Https://github.com/greenrobot/EventBus


13, Beeframework_android
Introduced:
Beeframework Android provides an MVC-based app DEMO for Android Junior developers and provides an in-app debugging tool that includes viewing network data request History Crash log list real-time WiFi environment simulation 2g\ 3G Network View app performance (memory footprint, CPU usage, etc.)
Project Address: Https://github.com/BeeFramework/BeeFramework_Android


14, Afinal
Introduced:
Afinal is an Android Ioc,orm framework with four modules built into it: finalacitivity,finalbitmap,finaldb,finalhttp. With finalactivity, we can bind UI and events in a way that is annotated. With Finalbitmap, we can easily load bitmap images without having to consider oom and other issues. Through the Finaldb module, our line of code can be added to the Android SQLite database for pruning and checking. With the Finalhttp module, we can request HTTP data in the form of Ajax.
The afinal contains four components:
Finalhttp: Used to request HTTP data, direct AJAX request, file upload, breakpoint continuation download file, etc.
Finalbitmap: Used to display bitmap pictures without regard to issues such as thread concurrency and oom.
Finalactivity: It is possible to bind controls and events in a fully annotated manner without writing code.
Finaldb:android in the ORM framework of SQLite, a line of code to fix additions and deletions.


Afinal is an Android Ioc,orm framework with four modules built into it: finalacitivity,finalbitmap,finaldb,finalhttp. With finalactivity, we can bind UI and events in a way that is annotated. With Finalbitmap, we can easily load bitmap images without having to consider oom and other issues. Through the Finaldb module, our line of code can be added to the Android SQLite database for pruning and checking. With the Finalhttp module, we can request HTTP data in the form of Ajax. For details, please visit the following URL.
Project Address: https://github.com/yangfuhai/afinal


15, volley
Introduced:
Before this, we need to communicate with the network in the program, the general use of Things is asynctaskloader,httpurlconnection,asynctask,httpclient (Apache), etc., this year's Google I/O On 2013, Volley was released. Volley is a network communication library on the Android platform that makes network communication faster, simpler, and more robust.
Project Address: Https://github.com/mcxiaoke/android-volley

Android's Common 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.