B4A Library Fingerprint Authentication

Status
Not open for further replies.

DonManfred

Expert
Licensed User
Longtime User
As Erel already answered. The Android Fingerprint Api does NOT provide any Key or something.
If the fingerprint is known by the system you get an positive answer. Negative if the fingerprint is not registered.
That´s it.

You know the fingerprint is known by the device or not. It does not give any informations about the finderprint-signature or whatever.

There is nothing we can do
 
Last edited:

Christian Gonzales

Member
Licensed User


However as I point out in the link those options is possible
 

Rokko

Member
Licensed User
Hi Erel,

I need a litlle advice with the FingerprintManager.

If fingerprint.Authenticate is started once it's running until "success" or if there are enough "fails" and then it cancels the Authentication method. Now my question: Is there any possibility to stop fingerprint.Authenticate by code? Something like StopService(...)?

Thanks a lot.

Regards, Rokko
 

EDC

New Member
Licensed User
Hi Erel

I just start since some Week on B4A for specific application. Hard to go forward but with yours many replys all over this forum it is more or less easier to go forward.
I tried your code but I have error as
Error occurred on line: 24 (Fingerprint)
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean DCipay.soft.fingerprintmanager._gethardwaredetected(DCipay.soft.fingerprintmanager)' on a null object reference
at DCipay.soft.fingerprint._activity_create(fingerprint.java:394)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at DCipay.soft.fingerprint.afterFirstLayout(fingerprint.java:104)
at DCipay.soft.fingerprint.access$000(fingerprint.java:17)
at DCipay.soft.fingerprint$WaitForLayout.run(fingerprint.java:82)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
** Activity (fingerprint) Resume **

Can you please help me ?
Thanks
 

EDC

New Member
Licensed User
Enclosed the part of my projet for fingerprint
 

Attachments

  • testfingerprint.zip
    10.8 KB · Views: 423

EDC

New Member
Licensed User
Maybe an error but with also error

** Activity (fingerprint) Create, isFirst = true **
Error occurred on line: 18 (Fingerprint)
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String DCipay.soft.fingerprintmanager._initialize(DCipay.soft.fingerprintmanager, anywheresoftware.b4a.BA, java.lang.Object, java.lang.String)' on a null object reference
at DCipay.soft.fingerprint._activity_create(fingerprint.java:381)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at DCipay.soft.fingerprint.afterFirstLayout(fingerprint.java:104)
at DCipay.soft.fingerprint.access$000(fingerprint.java:17)
at DCipay.soft.fingerprint$WaitForLayout.run(fingerprint.java:82)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)
** Activity (fingerprint) Resume **
 

EDC

New Member
Licensed User
OK Erel I modify the code and the layout and working fine now.
I would also like to keep datas from external datacenter . Can you please suggest the best way to do it the best forum to follow with the most important security level and faster response. Thanks for all the things you do on this website.
Also another point I work on a complete and special application for the next future. can you recommend a company or an expert who can create an complete application within B4X (needs B4A, B4I and B4J for a small box also need with my project)
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…