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

From wizarPOS
No edit summary
No edit summary
Line 44: Line 44:
! Description!! Download!!Release Time
! Description!! Download!!Release Time
|-
|-
| to get and compare iso fingerprint, run in different fingerprint module device  || [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/DiffFingerprint.zip simple demo to get iso fingerprint]|| 2019-09-20
| to get and compare iso fingerprint, run in different fingerprint module device  || [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/java/DiffFingerprint-ansi.zip simple demo to get iso fingerprint]|| 2019-09-20
|-
|-
| to get ansi fingerprint,  run in different fingerprint module device || [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/ConvertDiffFinger.zip demo to get ansi fingerprint]|| 2019-09-23
| to get ansi fingerprint,  run in different fingerprint module device || [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/advanceSDK/ConvertDiffFinger.zip demo to get ansi fingerprint]|| 2019-09-23
|}
|}

Revision as of 08:36, 29 September 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

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 iso fingerprint 2019-09-20
to get ansi fingerprint, run in different fingerprint module device demo to get ansi fingerprint 2019-09-23