1, first download the open source framework to Local:
[Email protected]/d/hixin$ cd viewpagerindicator/[email protected]-20141231rfqj/d/hixin/ viewpagerindicator$ git clone https://github.com/jakewharton/viewpagerindicator.gitcloning Into ' viewpagerindicator '27002700 (Delta 0), reused 0 (Delta 0), pack-reused 2700 eceiving objects: 98% (2646/2700), 3.11 MiB | 188.00 kib/100% (2700/2700), 3.21 MiB | 191.00 kib/100% (1169/1169), done. Checking connectivity ... done.
2. Create a new Android project in Eclipse, choose the following, location select the path of the library. (New->project ...)
So a library project is set up.
3, in the need to use the open source framework of the project, right-click on the project name, click Add, will automatically find this newly established library project
The fourth chapter of Android Advanced Viewpagerindicator use