This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java with external device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java with external device" Watch "Java with external device" New topic
Author

Java with external device

Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

Hi, I'm in final year of master of computer application and I have a final and very important project. I want to develop attendance system that scans students fingers for attendance and mark his attendance in database automatically once finger scanned.
Is it possible to connect java application to external hardware?
If yes what extra knowledge i should know ? How can i connect it ? and what books are good for it ?

Please reply its very important project for my career.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43381
    
  32
Yes, of course it is possible. In fact, it is what Java was originally designed for: embedded systems.

But you are not going to be able to demonstrate it for a master’s project. For one thing, it is probably illegal to take people’s fingerprints. Start by programming on the assumption that your device creates a hash (maybe an sha256) representing the fingerprint, and pass this hash, divided into a byte[] to the application. Write a text file full of various hashes, some valid, some invalid, and pass them to your application. You can demonstrate duplicate scans from the same person and scans from people not registered on a particular course.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11815
    
  18

Campbell Ritchie wrote:it is probably illegal to take people’s fingerprints.

That all depends on what part of the world you live in, and possibly whether or not you get the person's permission...


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

Thank you Campbell and Fred ! I've learned core java and advance java but not thoroughly cause we didn't have that much in syllabus so could please give me name of books which I should read so I could program to connect java with external devices. I searched on net and got that an abbreviation but can't write here in short form forbidden . I guess its java universal serial bus it says i need to copy all these files in java folder etc etc.
If you have any book name or anything which incorporates examples and could help me to learn how to connect java to external device please let me know.. because I don't have time to go to classes and learn it you know hectic schedule so I must learn myself....
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11815
    
  18

Personally, I don't have a clue. I would assume the device would come with some sort of API documentation and code you need to save/install, and then write your code to hook into that...but I really couldn't say for sure.
Ganesh Pat
Ranch Hand

Joined: Feb 04, 2012
Posts: 79

k... Fred thank you again I'll try to search on net...
Nikki Ayyad
Greenhorn

Joined: Apr 15, 2015
Posts: 7

Hi Ganesh Pat
please if you found something about this topic, I have the same final project and I'm stuck too. I spend so much time looking for the solution but in vain. Please support me
Thank you
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 43381
    
  32
Welcome to the Ranch

Ganesh Pat doesn't seem to be active here at the moment, so you may not get an answer, I am afraid.
Nikki Ayyad
Greenhorn

Joined: Apr 15, 2015
Posts: 7

Thank You Campbell Ritchie
Waitting for someone to help me
Tim Cooke
Sheriff

Joined: Mar 28, 2008
Posts: 2005
    
  96

I doubt very much if anyone is going to just give you the solution. I would recommend spending your time working on your project, rather than just waiting for someone to help you.

If you are having a particular problem then create a new thread, show us what you've got, and tell us exactly the problem you are facing. I'm sure you'll get some help in that case.


Tim Driven Development
Nikki Ayyad
Greenhorn

Joined: Apr 15, 2015
Posts: 7

Ok Thank You
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java with external device
 
It's not a secret anymore!