Trying to import github project into an Android project
android, eclipse, github
Solution
Find the instructions below for importing the project:
- Install the Git Plugin for Eclipse
- Right click on Projects Explorer and click on import, Next select 'git'->'projects'->'URI'
- Enter 'https://github.com/jasonpolites/gesture-imageview.git'
- Enter your github's username and password and press 'next'(not finish). Entering ur github details are optional. You can leave them empty also here.
- Select the branch you want to download
- Enter the directory in the next screen where the project will be imported. This will be your root directory
- Press finish to import the project.
- Then in the next step click on "Use the new project wizard'
- Choose 'android project from existing code'
- In the next screen click on 'browse' in the place where 'root directory' selection option is mentioned , select the place where you imported your project.
- Press Finish
The project should be imported as an android project now
Problem
I've been sitting here for hours, trying to use this github project in my Android project in Eclipse. I've never successfully imported anything from github before. I've read everything I could find and fooled around with every possible option and have exhausted my patience completely. Could someone please list step by step the procedure for this specific project so I can finally use it in XML like the author describes: ``` <com.polites.android.GestureImageView android:id="@+id/image" android:layout_width="fill_parent" android:layout_height="wrap_content" android:src="@drawable/image" gesture-image:min-scale="0.1" gesture-image:max-scale="10.0" gesture-image:strict="false"/> ``` The link is https://github.com/jasonpolites/gesture-imageview I will be eternally grateful.