How to Use the Fingerprint Module Interface in WizarPOS Terminals: Difference between revisions

From wizarPOS
No edit summary
Line 10: Line 10:
|-
|-
| [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/U.are.U_Windows_3.1.1.73.zip TCS1FingerPrintSDK-U.are.U] || Crossmatch fingerprint UareU demo and javadoc api
| [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/U.are.U_Windows_3.1.1.73.zip TCS1FingerPrintSDK-U.are.U] || Crossmatch fingerprint UareU demo and javadoc api
|-
| [ftp://sdkuser:wizsdkar@ftp.wizarpos.com//device/java/CrossmatchDemo1011.zip Simple demo] || Get fingerprint from a grabbing image then compare using U.are.U SDK
|}
|}
== WizarPOS fingerprint ==
== WizarPOS fingerprint ==
=== spec ===
=== spec ===

Revision as of 05:18, 11 October 2019

Permission

Please add permission to manifest file of app. <uses-permission android:name="android.permission.CLOUDPOS_FINGERPRINT" />

Crossmatch fingerprint

To learn how to develop fingerprint app in a device with crossmatch fingerprint module, please download the follows SDK and documents, the first TCS1FingerPrintSDK is a basic SDK, please use it to entry fingerprint, get image, for further compare or compression, please use the second SDK-U.are.USDK. But please notice that the app can not use U.are.U SDK to entry fingerprint, so in U.are.U SDK, the app can not use the Reader class.

Download as required Description
TCS1FingerPrintSDK Crossmatch fingerprint basic demo and javadoc api
TCS1FingerPrintSDK-U.are.U Crossmatch fingerprint UareU demo and javadoc api
Simple demo Get fingerprint from a grabbing image then compare using U.are.U SDK

WizarPOS fingerprint

spec

Please get the WizarPOS FP spec

api doc

Please find com.cloudpos.fingerprint from java api doc, if compare ISO 2005 template, please use method compare, compareByFormat and identify, if compare ANSI 378 template, please use method compareByFormat(byte[] arryBuffer1, int format1, byte[] arryBuffer2, int format2), if convert between ISO 2005 and ANSI 378 template format, please use convertFormat(byte[] dataBuffer, int srcFormat, int outFormat).

How to distinguish different fingerprint modules

There is a property wp.fingerprint.model, if value is tuzhengbig, it is WizarPOS FP module, if value is crossmatch, it is Crossmatch fingerprint module. Snippet code as follows:

   String prop = getProperty("wp.fingerprint.model","");
       if (prop.equalsIgnoreCase("none")) {
           showNormalDialog("tips", "No fingerprint module.");
       } else if (prop.equalsIgnoreCase("tuzhengbig")) {
          //WizarPOS FP
       } else if (prop.equalsIgnoreCase("crossmatch")) {
          //Crossmatch FP
       }    
   public static String getProperty(String key, String defaultValue) {
       String value = defaultValue;
       try {
           Class<?> c = Class.forName("android.os.SystemProperties");
           Method get = c.getMethod("get", String.class, String.class);
           value = (String)(get.invoke(c, key, defaultValue ));
       } catch (Exception e) {
           e.printStackTrace();
       }finally {
           return value;
       }
   }

Please download fingerprint demos:

Description Download Release Time
to get and compare iso fingerprint, run in different fingerprint module device simple demo to get ansi fingerprint 2019-09-29
to get ansi fingerprint, run in different fingerprint module device demo to get ansi fingerprint 2019-09-23