Trying to import github project into android project

I have been sitting here for hours trying to use this github project in my Android project in Eclipse. I've never imported anything from github before. I read everything I could find and cheated every possible option and completely exhausted my patience.

Can anyone please list a step by step procedure for this particular project so that I can finally use it in XML as 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"/>

      

Link https://github.com/jasonpolites/gesture-imageview

I will be forever grateful.

+3


source to share


2 answers


Find the instructions below to import the project:

  • Install the Git plugin for Eclipse
  • Right click on Project Explorer and click on import then select 'git' β†’ 'projects' β†’ 'URI'
  • Enter https://github.com/jasonpolites/gesture-imageview.git '
  • Enter your github username and password and click next (does not end). Entering ur github details is optional. You can also leave them blank.
  • Select the branch you want to download.
  • Enter the directory on the next screen where the project will be imported. This will be your root directory
  • Click to import the project.
  • Then in the next step click "Use New Project Wizard"
  • Select "Android project from existing code"
    • On the next screen, click "browse" at the location where the "root directory" selection option is specified, select the location where you imported the project.
    • Click Finish


The project should now be imported as an Android project.

+7


source


You can solve your problem by adding this line to your TAG layout to link to your package:



xmlns:gesture-image="http://schemas.polites.com/android"

      

+1


source







All Articles