DigitalPersona U.are.U java SDK doesnt answer without GUI

640 views Asked by At

I'm currently developping a JAVA program which uses Digital Persona 4500.[DigitalPersonaBiometricSDKforWindows_3.4.0]

We're facing problems with it, the sample code uses a GUI that you can sample digital, it works fine with the GUI.

But if we dont use the GUI, the code stops on Reader.Capture()... I've tried many things like another Thread only for sampling and etc.

ReaderCollection m_coll = UareUGlobal.GetReaderCollection();
m_coll.GetReaders();
Reader m_reader = m_coll.get(0);
m_reader.Open(Reader.Priority.COOPERATIVE);
Reader.CaptureResult cr = m_reader.Capture(Fid.Format.ANSI_381_2004, Reader.ImageProcessing.IMG_PROC_DEFAULT, m_reader.GetCapabilities().resolutions[0], -1);
System.out.println(cr.quality);

Similar Question: Call to Reader.Capture() in DigitalPersona U.are.U SDK does not return

2

There are 2 answers

1
Adal Ponal On

You can try this one. SDK for digital persona finger print scanner for java (Android). Its provide you bitmap. you can implement as a your requirment. Check this android app download it, available on google play store. App Link: https://play.google.com/store/apps/details?id=com.digitalpersona.digitalpersona

For More Infomation Visite Offical Website of (Brain Wave App Studio) http://digital.persona.sdk.android.brainwaveappstudio.com

1
ratnesh On

I have just added solution in below question,

Call to Reader.Capture() in DigitalPersona U.are.U SDK does not return

Copying same answer here,

I faced the similar issue and it can be fixed by opening a reader in exclusive mode as below,

m_reader.Open(Reader.Priority.EXCLUSIVE);

Refer to below lines from documents,

public static final Reader.Priority COOPERATIVE

Client uses this priority to open reader in cooperative mode. Multiple clients with this priority are allowed. Client receives captured images if it has window with focus.

public static final Reader.Priority EXCLUSIVE

Client uses this priority to open reader exclusively. Only one client with this priority is allowed.