Ultimateandroid is an Android rapid development framework that integrates many of the existing outstanding Android Open source class libraries and synthesizes them as a whole. The framework currently includes features such as View Injection,orm, asynchronous network request and picture loading, automated script testing, and Disk LRU. Also provides similar to TripleDES, WebView Quick setup, MD5 processing, string processing, Common tool classes such as HTTPS processing, as well as a variety of UI control effects. And these functions are gradually increasing.
The project address is https://github.com/cymcsg/UltimateAndroid
This tutorial mainly introduces the use of the ultimateandroid framework, and uses a project as an example to illustrate how to better use ultimateandroid
目录:
I. Deployment of the ultimateandroid framework (Eclipse and version Androidstudio)
Second, import Demoofui, achieve a variety of UI effects
Iii. Routines: Project Introduction and initialization
Four, start effect processing
V. Database structure processing
Six
... Not to be continued
The core open source class libraries currently in use are:
1. View Injection Butter Knife
2. Asynchronous network request asynchronous Http Client for Android.
3. Asynchronous picture loading Universal image Loader for Android
4.ORM One: Greendao
5.ORM Two: activeandroid
Ultimateandroid Rapid Development Framework Tutorial (I): Deployment framework
为了方便大家更好的使用UltimateAndroid进行Android快速开发,特撰写此教程。不当之处,还请多多指教。
由于目前使用Eclipse和Intellij Idea(Android Studio)作为开发工具的人都非常多,为了方便大家部署,针对这两种开发环境都进行相应的说明
项目地址是https://github.com/cymcsg/UltimateAndroid.git,如有疑问可以直接在github的issue上提问,或者加入QQ群讨论:341970175,加群请注明Android开发
注意事项:1.JDK,Android Sdk配置完毕,JDK建议是JDK1.7版本,否则需要修改项目语言版本;2.本教程的操作系统环境是OS X 10.9,IDE环境eclipse4.4,Intellij Idea 13.1,Android Sdk 为4.4.2和23.0,Android Studio是在Intellij基础上衍生出来的,配置方法相似。3.由于本人使用Intellij Idea,所以之后的教程将基本已Intellij Idea环境下为样本。
One, Eclipse Environment:
1. Under the command line git clone https://github.com/cymcsg/UltimateAndroid.git
or download the zip package directly, and unzip.
2. Import the directory, appcompat
UltimateAndroid
two directories, if you need to see the UI demo, import DemoOfUI
If you need to see the project demo Demo
. (Note the need to import Android items existing Android code instead of existing project)
3. Bring the jar package for the Libs directory under each project to the project dependencies and set it to export (which is automatically configured in the latest version Sdk+adt) and add ultimateandroid dependencies and AppCompat, Demoofui depends on the ultimateandroid, if the project has an error, pay attention to see if the version of the JRE is not modified to 1.7.
4. Right-click the project, select Java Compiler
next Annotation Processing
, open annotation processing and add the Butterknife jar package. (All projects using view injection need to be set up, so Demoofui and demo will need to be set up in addition to ultimateandroid). 5. You can then run the Demoofui or demo.
Second, the Intellij idea (Android Studio) environment
1. Under the command line git clone https://github.com/cymcsg/UltimateAndroid.git
or download the zip package directly, and unzip.
2. Import the directory, appcompat
UltimateAndroid
two directories, if you need to see the UI demo, import DemoOfUI
If you need to see the project demo Demo
.
3. Bring the jar package of the Libs directory under each project to the project dependencies and set it to export, and add ultimateandroid dependency and Appcompat,demoofui dependent on ultimateandroid, if the project has an error, Check to see if you haven't modified the JRE version to 1.7.
4. Click Preference-Compiler-Annotation Processors
, open annotation processing
(all projects using view injection need to be set up, so in addition to Ultimateandroid, Demoofui and demo also need to be set)
5. You can then run the Demoofui or demo.
Rapid development using the ULTIMATEANDROID framework