enter image description hereI developed an application for **android **where i am getting Finger Print using **SecuGen **Pro 20 device.
Samsung device capture the finger print image.
But I am getting crash from other device Like Realme, mi, Techno, Oneplus etc.
Crash occur and give me a message Null Pointer Exception.
java.lang.NullPointerException: Attempt to invoke virtual method ‘long SecuGen.Driver.SmartCapture3Fdu05.Start(int, boolean)’ on a null object reference
I attach an image of my code. I am getting crash in the result line.
I do not find any solution.
Please help me.
I tried the given image code. But it’s return null and app is crash. I setup the SDK properly. But for few device (such as: Oneplus, Realme, mi, Techno, etc) i am getting the null.
I need the suggestion where is code error. How can i solve this problem .
F. Rahman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.