HamsterAPIJavaEclipse

From cogniteam
Revision as of 12:17, 28 February 2017 by Cogniteam (talk | contribs) (Created page with "Category:HamsterAPI == Eclipse configuration == The following steps were written based on Eclipse Neon.2 (4.6.2). == Hamster API == In order to use the Hamster API with...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Eclipse configuration

The following steps were written based on Eclipse Neon.2 (4.6.2).

Hamster API

In order to use the Hamster API with Eclipse, you’ll need to add the .jar files to your project’s build path.

HAPIJava3.png

Follow the steps bellow to configure your project:

Open your project’s properties on Eclipse; Select “Java Build Path” and then select “Libraries”; Select the option “Add External JARs...” Go to your Hamster workspace and then go to de HamsterJavaInstall directory; Add CogniAlg.jar, HamsterAPICommon.jar and HamsterClient.jar files as libraries to your project; Apply the changes and then add the import statements you will need on your project. Ex: import com.cogniteam.HamsterAPIClient.Hamster; import com.cogniteam.HamsterAPICommon.Common.Log; import com.cogniteam.HamsterAPICommon.Messages.Image; import com.cogniteam.HamsterAPICommon.Parameters.HamsterClientParameters;



HAPIJava4.png HAPIJava5.png HAPIJava6.png HAPIJava7.png HAPIJava8.png