Hello Guys
Neurotechnology Sdk is used for fingerprint, face detection etc..
To develop neurotechnology SDK in liferay, first build maven project and create applet jar and relative jar's using Maven with "clean install -Papplet".
Below steps will help you to use Neurotechnology Sdk applet in Liferay.
Step 1:
Below code put in view.jsp
<applet name="Abis" id="Abis" code="com.neurotech.samples.abis.AbisApplet" codebase='<%= themeDisplay.getCDNBaseURL()+"/PortletName" %>' width="450" height="300">
<param name="jnlp_href" value="abis-sample.jnlp" />
<param name="separate_jvm" value="true" />
<param name="server_address" value="/local" />
<param name="server_port" value="5000" />
</applet>
Step 2:
Create abis-sample.jnlp and put below code :
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="" href="abis-sample.jnlp">
<information>
<title>abis-sample-applet</title>
<vendor>Neurotechnology</vendor>
<homepage href="http://www.neurotechnology.com"/>
<description>abis-sample</description>
<description kind="short">abis-sample</description>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="prompt-update"/>
<resources>
<j2se version="1.6+"/>
<jar href="abis-sample-applet.jar" main="true"/>
<jar href="neurotec-core.jar"/>
<jar href="neurotec-licensing.jar"/>
<jar href="neurotec-media.jar"/>
<jar href="neurotec-media-processing.jar"/>
<jar href="neurotec-biometrics.jar"/>
<jar href="neurotec-biometrics-client.jar"/>
<jar href="neurotec-devices.jar"/>
<jar href="neurotec-gui.jar"/>
<jar href="neurotec-biometrics-gui.jar"/>
<jar href="samples-utils.jar"/>
</resources>
<resources os="Windows" arch="x86">
<nativelib href="neurotec-native-win32-x86.jar" download="eager"/>
</resources>
<resources os="Windows" arch="x86_64">
<nativelib href="neurotec-native-win64-x64.jar" download="eager"/>
</resources>
<resources os="Linux" arch="x86_64">
<nativelib href="neurotec-native-linux-x86-64.jar" download="eager"/>
</resources>
<resources os="Linux">
<nativelib href="neurotec-native-linux-x86.jar" download="eager"/>
</resources>
<resources os="Mac OS X">
<nativelib href="neurotec-native-macosx-universal.jar" download="eager"/>
</resources>
<applet-desc
name="Abis"
documentbase="view.jsp"
main-class="com.neurotec.samples.abis.AbisApplet"
width="800"
height="600">
</applet-desc>
</jnlp>
Thank You.
0 Comment(s)