|
|
(35 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| == Permission ==
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/fingerprint/fingerprint-module-usage-guide}} |
| 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.
| |
| {| class="wikitable" | |
| |-
| |
| ! Download as required !! Description
| |
| |-
| |
| | [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/TCS1FingerPrintSDK.zip TCS1FingerPrintSDK] || Crossmatch fingerprint basic 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 ==
| |
| === spec ===
| |
| Please get the [ftp://sdkuser:wizsdkar@ftp.wizarpos.com/device/wizarPOSFP.pdf WizarPOS FP spec]
| |
| === api doc ===
| |
| Please find ''com.cloudpos.fingerprint'' from [http://sdkwiki.wizarpos.com/wizarposapi/ '''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:
| |
| {| class="wikitable"
| |
| |-
| |
| ! 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-ansi.zip simple demo to get ansi fingerprint]|| 2019-09-29
| |
| |-
| |
| | 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
| |
| |}
| |