Because in the development process, in order to achieve an unknown effect and a specific function, and to turn to the online excellent open source projects, in the process of using the discovery of Open Source Library project (library projects), it can solve a lot of problems, but also gives a way of thinking, Good software companies also need to have their own library project (library projects), so that unnecessary duplication of development work, this is just their own ideas. The following will be their own experience or experience recorded as follows, the following is their own writing style.
Application Scenarios:
In the project development process, often use the company's internal public library or use a good open source Project library, in order to achieve rapid development, code reuse effect. Projects that are being developed to integrate other projects because of the large integration project, do not want to copy the mechanical, you want to integrate the project into the project library. Based on this requirement, referencing the library project is an urgent need, so it is easy and fast to upgrade and expand the integration project later. To do this, we have to understand the creation and reference operations of the Android Library project (library projects).
Creation of the Android Library project:
First step: Create an Android project.
The second step: The red part is unchecked, uncheck [Create custom Launcher icon] and [create activity], tick [make this project as a library].
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4B/C6/wKioL1Qym1WDIBluAAOVkstshGE552.jpg "title=" screen shot 2014-10-06 pm 9.18.54.png "alt=" Wkiol1qym1wdibluaaovkstshge552.jpg "/>
Step three: Finish completing the project, then create your own Android class under the SRC folder.
Use of the Android Library project:
The first step: to use the library of the project right click, select Properties
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4B/C6/wKioL1QynAaDAXWeAAQ5d2Xga-I740.jpg "title=" screen shot 2014-10-06 pm 9.19.54.png "alt=" Wkiol1qynaadaxweaaq5d2xga-i740.jpg "/>
Step Two: Click the Add button in the pop-up window.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4B/C6/wKioL1QynEDDmzrrAAUEYnFYcro233.jpg "title=" screen shot 2014-10-06 pm 9.20.04.png "alt=" Wkiol1qyneddmzrraaueynfycro233.jpg "/>
Step three: Select the library item that we want to use and click OK.
This allows us to use the classes in the library project on the project.
This article is from "Feather android" blog, please make sure to keep this source http://caifly.blog.51cto.com/3433287/1560882
Lesson Five-android Library project