How to Use the Fingerprint Module Interface in WizarPOS Terminals
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, method compare and identify support ISO 2005 template feature which get from same fingerprint module or different fingerprint module, but other methods only support fingerprints from WizarPOS FP module.
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; } }