├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── values-zh │ │ │ │ └── strings.xml │ │ │ ├── values-zh-rCN │ │ │ │ └── strings.xml │ │ │ ├── values-zh-rTW │ │ │ │ └── strings.xml │ │ │ ├── values-en │ │ │ │ └── strings.xml │ │ │ ├── layout │ │ │ │ └── activity_main.xml │ │ │ ├── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ │ └── drawable │ │ │ │ └── ic_launcher_background.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── wei │ │ │ └── android │ │ │ └── lib │ │ │ └── fingerprintidentify │ │ │ └── demo │ │ │ └── MainActivity.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── wei │ │ │ └── android │ │ │ └── lib │ │ │ └── fingerprintidentify │ │ │ └── demo │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── wei │ │ └── android │ │ └── lib │ │ └── fingerprintidentify │ │ └── demo │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── FingerprintIdentifyLib ├── .gitignore ├── src │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── wei │ │ │ └── android │ │ │ └── lib │ │ │ └── fingerprintidentify │ │ │ ├── impl │ │ │ ├── MeiZuFingerprint.java │ │ │ ├── AndroidFingerprint.java │ │ │ └── SamsungFingerprint.java │ │ │ ├── FingerprintIdentify.java │ │ │ ├── aosp │ │ │ ├── FingerprintManagerCompatApi23.java │ │ │ └── FingerprintManagerCompat.java │ │ │ └── base │ │ │ └── BaseFingerprint.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── wei │ │ │ └── android │ │ │ └── lib │ │ │ └── fingerprintidentify │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── wei │ │ └── android │ │ └── lib │ │ └── fingerprintidentify │ │ └── ExampleInstrumentedTest.java ├── libs │ ├── MeiZu_Fingerprint.jar │ ├── Samsung_Fingerprint_Sdk-v1.0.0.jar │ └── Samsung_Fingerprint_Pass-v1.2.6.jar ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── other ├── demo.apk ├── QRCode_en.png ├── QRCode_zh.png └── README_ZH.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── LICENSE ├── gradlew.bat ├── gradlew └── README.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /FingerprintIdentifyLib/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':FingerprintIdentifyLib' 2 | -------------------------------------------------------------------------------- /other/demo.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/other/demo.apk -------------------------------------------------------------------------------- /other/QRCode_en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/other/QRCode_en.png -------------------------------------------------------------------------------- /other/QRCode_zh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/other/QRCode_zh.png -------------------------------------------------------------------------------- /FingerprintIdentifyLib/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /FingerprintIdentifyLib/libs/MeiZu_Fingerprint.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/FingerprintIdentifyLib/libs/MeiZu_Fingerprint.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /FingerprintIdentifyLib/libs/Samsung_Fingerprint_Sdk-v1.0.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/FingerprintIdentifyLib/libs/Samsung_Fingerprint_Sdk-v1.0.0.jar -------------------------------------------------------------------------------- /FingerprintIdentifyLib/libs/Samsung_Fingerprint_Pass-v1.2.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/uccmawei/FingerprintIdentify/HEAD/FingerprintIdentifyLib/libs/Samsung_Fingerprint_Pass-v1.2.6.jar -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches/build_file_checksums.ser 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | .DS_Store 9 | /build 10 | /captures 11 | .externalNativeBuild 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Nov 14 18:13:14 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/test/java/com/wei/android/lib/fingerprintidentify/demo/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.wei.android.lib.fingerprintidentify.demo; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /FingerprintIdentifyLib/src/test/java/com/wei/android/lib/fingerprintidentify/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.wei.android.lib.fingerprintidentify; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/values-zh/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 指纹识别 Demo 5 | 耗时: 6 | 条件不满足,结束 7 | 开始验证,请放置你的指纹 8 | 验证通过,结束 9 | 指纹不匹配,剩余 %1d 次机会 10 | 验证失败,结束,是设备锁定 11 | 开始失败,设备暂时锁定 12 | 13 | 请点击开始验证按钮开始 14 | 开始验证 15 | 复制信息 16 | 已复制 17 | 指纹验证已停止,请重新打开APP再试 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 指纹识别 Demo 5 | 耗时: 6 | 条件不满足,结束 7 | 开始验证,请放置你的指纹 8 | 验证通过,结束 9 | 指纹不匹配,剩余 %1d 次机会 10 | 验证失败,结束,是设备锁定 11 | 开始失败,设备暂时锁定 12 | 13 | 请点击开始验证按钮开始 14 | 开始验证 15 | 复制信息 16 | 已复制 17 | 指纹验证已停止,请重新打开APP再试 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rCN/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 指纹识别 Demo 5 | 耗时: 6 | 条件不满足,结束 7 | 开始验证,请放置你的指纹 8 | 验证通过,结束 9 | 指纹不匹配,剩余 %1d 次机会 10 | 验证失败,结束,是设备锁定 11 | 开始失败,设备暂时锁定 12 | 13 | 请点击开始验证按钮开始 14 | 开始验证 15 | 复制信息 16 | 已复制 17 | 指纹验证已停止,请重新打开APP再试 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/values-zh-rTW/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 指紋識別 Demo 5 | 耗時: 6 | 條件不滿足,結束 7 | 開始驗證,請放置你的指紋 8 | 驗證通過,結束 9 | 指紋不匹配,剩餘 %1d 次機會 10 | 驗證失敗,結束,是設備鎖定 11 | 開始失敗,設備暫時鎖定 12 | 13 | 請點擊開始驗證按鈕開始 14 | 開始驗證 15 | 複製信息 16 | 以複製 17 | 指紋驗證已停止,請重新打開APP再試 18 | 19 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | android.enableJetifier=true 10 | android.useAndroidX=true 11 | org.gradle.jvmargs=-Xmx1536m 12 | # When configured, Gradle will run in incubating parallel mode. 13 | # This option should only be used with decoupled projects. More details, visit 14 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 15 | # org.gradle.parallel=true 16 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/wei/android/lib/fingerprintidentify/demo/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.wei.android.lib.fingerprintidentify.demo; 2 | 3 | import android.content.Context; 4 | import androidx.test.InstrumentationRegistry; 5 | import androidx.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.wei.android.lib.fingerprintidentify.demo", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/values-en/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | FingerprintIdentify Demo 5 | time cost: 6 | Conditions are not satisfied, end 7 | verification begins, show your fingerprint 8 | succeed, end 9 | no match, %1d chances left 10 | failed, end, is device locked 11 | start failed,device locked 12 | 13 | click start button to active identify 14 | start 15 | copy 16 | copied 17 | identify cancelled,please restart the app 18 | 19 | -------------------------------------------------------------------------------- /FingerprintIdentifyLib/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | 23 | # $ ./gradlew clean build bintrayUpload -PbintrayUser=BINTRAY_USERNAME -PbintrayKey=BINTRAY_KEY -PdryRun=false -------------------------------------------------------------------------------- /FingerprintIdentifyLib/src/androidTest/java/com/wei/android/lib/fingerprintidentify/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.wei.android.lib.fingerprintidentify; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.wei.android.lib.fingerprintidentify.test", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | 23 | -ignorewarnings 24 | 25 | # MeiZuFingerprint 26 | -keep class com.fingerprints.service.** { *; } 27 | 28 | # SmsungFingerprint 29 | -keep class com.samsung.android.sdk.** { *; } -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 28 5 | 6 | defaultConfig { 7 | applicationId "com.wei.android.lib.fingerprintidentify.demo" 8 | minSdkVersion 21 9 | targetSdkVersion 28 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 13 | } 14 | 15 | buildTypes { 16 | release { 17 | minifyEnabled false 18 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 19 | } 20 | } 21 | } 22 | 23 | dependencies { 24 | implementation fileTree(include: ['*.jar'], dir: 'libs') 25 | implementation 'androidx.appcompat:appcompat:1.0.2' 26 | implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2' 27 | testImplementation 'junit:junit:4.12' 28 | androidTestImplementation 'androidx.test:runner:1.1.0' 29 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' 30 | implementation project(':FingerprintIdentifyLib') 31 | } 32 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Awei 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /FingerprintIdentifyLib/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | apply plugin: 'com.novoda.bintray-release' 3 | 4 | android { 5 | compileSdkVersion 28 6 | 7 | defaultConfig { 8 | minSdkVersion 14 9 | targetSdkVersion 28 10 | versionCode 1 11 | versionName "1.0" 12 | 13 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" 14 | } 15 | 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 | } 21 | } 22 | android { 23 | lintOptions { 24 | abortOnError false 25 | } 26 | } 27 | } 28 | 29 | dependencies { 30 | implementation fileTree(dir: 'libs', include: ['*.jar']) 31 | 32 | implementation 'androidx.appcompat:appcompat:1.0.2' 33 | testImplementation 'junit:junit:4.12' 34 | androidTestImplementation 'androidx.test:runner:1.1.0' 35 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' 36 | } 37 | 38 | publish { 39 | userOrg = 'uccmawei' 40 | groupId = 'com.wei.android.lib' 41 | artifactId = 'fingerprintidentify' 42 | publishVersion = '1.2.6' 43 | desc = 'Android fingerprint api for Android, Samsung, MeiZu.' 44 | website = 'https://github.com/uccmawei/FingerprintIdentify' 45 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 15 | 16 |