GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sdaduanbilei/FingerprintIdentify: :+1: Android Fingerprint Verification SDK

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
FingerprintIdentifyDemo
FingerprintIdentifyDemo
 
 
FingerprintIdentifyLib
FingerprintIdentifyLib
 
 
gradle/wrapper
gradle/wrapper
 
 
other
other
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
artifactoy_push.gradle
artifactoy_push.gradle
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

FingerprintIdentify

This is an expandable Android fingerprint api compatible lib, which also combine Samsung and MeiZu's official fingerprint api.

Samsung and MeiZu's fingerprint SDK supports most devices which system versions less than Android 6.0 .

Api priority level:Android > Samsung > MeiZu

中文版

1. Gradle

compile 'com.wei.android.lib:fingerprintidentify:1.1.2'

2. AndroidManifest

<uses-permission android:name="android.permission.USE_FINGERPRINT"/>
<uses-permission android:name="com.fingerprints.service.ACCESS_FINGERPRINT_MANAGER"/>
<uses-permission android:name="com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY"/>

3. FingerprintIdentify api

mFingerprintIdentify = new FingerprintIdentify(this);                       // create object
mFingerprintIdentify = new FingerprintIdentify(this, exceptionListener);    // create with error listener
mFingerprintIdentify.isFingerprintEnable();                                 // is fingerprint usable
mFingerprintIdentify.isHardwareEnable();                                    // is hardware usable
mFingerprintIdentify.isRegisteredFingerprint();                             // is fingerprint collected
mFingerprintIdentify.startIdentify(maxTimes, listener);                     // start identify
mFingerprintIdentify.cancelIdentify();                                      // cancel identify
mFingerprintIdentify.resumeIdentify();                                      // resume identify

4. startIdentify method

mFingerprintIdentify.startIdentify(3, new BaseFingerprint.FingerprintIdentifyListener() {
    @Override
    public void onSucceed() {
        // succeed, release hardware automatically
    }

    @Override
    public void onNotMatch(int availableTimes) {
        // not match, try again automatically
    }

    @Override
    public void onFailed() {
        // failed, release hardware automatically
    }
});

5. Proguard

# MeiZuFingerprint
-keep class com.fingerprints.service.** { *; }

# SmsungFingerprint
-keep class com.samsung.android.sdk.** { *; }

6. Notice

https://code.google.com/p/android/issues/detail?id=231939

7. Version Update

v1.1.2 2017.04.25 Modify AOSP's code,avoid the PackageManager.FEATURE_FINGERPRINT limit.

v1.1.1 2017.03.20 Modify gradle AppCompat lib version.

v1.1.0 2017.03.16 Modify package name and bug fixed.

v1.0.2 2017.02.17 Add exception callback.

v1.0.1 2017.02.15 Bug fixed.

v1.0.0 2017.02.10 Release v1.

License

Licensed under the MIT License, see the LICENSE for copying permission.

About

👍 Android Fingerprint Verification SDK

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.