I finally managed to get an example working. This is taken from the sample application as well. The last two parameters, the two ints, passed to the Capture method are the resolution and the timeout respectively passing -1 for the timeout blocks indefinitely. The following call just hangs and never returns.Ĭr = r.Capture(_19794_4_2005, _PROC_DEFAULT, 500, -1) ReaderCollection rc = UareUGlobal.GetReaderCollection() That is about the only way I can get it to return. Unplugging the device causes the call to fail with an exception. The only difference I can see between my sample and the SDK sample app is that the latter is a graphical application. Using the CaptureThread class from the demo application.Running the capture operation in its own thread as well, but the results are the same.Running the capture code in an instance of the class (i.e.However, when I try to do the same thing in my own sample application, the call to the Reader.Capture() method never returns, even though I can see the reader flashing when recording my fingerprint.īelow is a variation on the sample code I have tried with. The sample Java application that ships with the SDK works flawlessly. I am developing an application for a DigitalPersona U.are.U 4500 fingerprint reader and using the U.are.U 2.2.3 SDK Java API.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |