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

From wizarPOS
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/fingerprint/fingerprint-module-usage-guide}}")
Tag: Replaced
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Permission ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/fingerprint/fingerprint-module-usage-guide}}
Please add the following permissions to the manifest file of the application:
<uses-permission android:name="android.permission.CLOUDPOS_FINGERPRINT" />
 
== Crossmatch fingerprint ==
To learn how to develop fingerprint applications in devices with the Crossmatch fingerprint module, download the following SDK and documentation. The first TCS1FingerPrintSDK is a basic SDK. Please use it to input fingerprint and get image. If you want to compare or compress, use the second SDK-U.are.USDK. Note that the application cannot use the U.are.U SDK to input the fingerprint, so in the U.are.U SDK, the application cannot use the Reader class.
{| class="wikitable"
|-
! Files to download !! Description
|-
| [http://ftp.wizarpos.com/device/TCS1FingerPrintSDK_20231016_demo&javadoc.zip TCS1FingerPrintSDK] || Crossmatch fingerprint basic demo and javadoc API
|-
| [http://ftp.wizarpos.com/U.are.U_Windows_3.1.1.73.zip TCS1FingerPrintSDK-U.are.U] || Crossmatch fingerprint UareU demo and javadoc API
|}
 
== WizarPOS fingerprint ==
=== Specification ===
You can get [http://ftp.wizarpos.com/device/wizarPOSFP.pdf WizarPOS FP spec] here.
 
=== API document ===
Please find ''com.cloudpos.fingerprint'' from [http://sdkwiki.wizarpos.com/wizarposapi/ '''java api doc'''].
 
* Compare '''ISO 2005 template''', please use method '''compare''', '''compareByFormat''' and '''identify''';
* Compare '''ANSI 378 template''', please use method '''compareByFormat(byte[] arryBuffer1, int format1, byte[] arryBuffer2, int format2)''';
* Convert between ISO 2005 and ANSI 378 template format, please use '''convertFormat(byte[] dataBuffer, int srcFormat, int outFormat)'''.
 
=== API Demo ===
Please consult the apidemo from [[Java API Samples|Samples]]
 
== '''Distinguish different fingerprint modules''' ==
There is a property called '''wp.fingerprint.model'''. If value is ''tuzhengbig'', it is '''WizarPOS FP module'''; if value is ''crossmatch'', it is '''Crossmatch fingerprint module'''. The code snippet is 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;
        }
    }
Demos work success in any fingerprint module device:
{| class="wikitable"
|-
! Description!! Download!!Release Time
|-
| Get and cross compare fingerprints from different fingerprint module device, ANSI template || [http://ftp.wizarpos.com/advanceSDK/ConvertDiffFinger_20231018.zip demo for ANSI fingerprint]|| 2023-10-18
|-
| Get ISO fingerprint, then convert it to ANSI, compare the ISO and ANSI fingerprint, run in different fingerprint module device || [http://ftp.wizarpos.com/advanceSDK/ConvertDiffFingerISO&ANSI_20231018.zip demo for ISO and ANSI fingerprint]|| 2023-10-18
|}

Latest revision as of 03:13, 8 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/fingerprint/fingerprint-module-usage-guide

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!