Magnetic card reader and java

hi all
I am doing a project in java in which i need to read the magnetic card reader in my program.so please tell me how to read the text ,that the card reads, in java.Basically my project is to develop an attendence system in java that will use ATM card of the person.I need to read the string that the reader reads, in java.Please help me how to do this.Thanks in eadvanc

Alright,let me give you an idea of what stratergies which we can follow with regards to your requirement assuming that the magenetic card contains just a stream of information.
1).If you are using Magnectic card Over Serial / LPT ports,Try to use Java Communication Api.
write a class using it which pools all the available initiated ports continuosly.If you find ready data avalable with regards to that device connect to that port & then fetch the data and then throgh an event with regards to that data obtained now parse the data accordingly and then use for your business means.
http://java.sun.com/products/javacomm/
http://www.javaworld.com/javaworld/jw-05-1998/jw-05-javadev.html
http://java.sun.com/developer/Books/javaprogramming/cookbook/11.pdf
the above links would guide you through in acheiving the stated solution.
2). If the stated Magenetic Card or Specified device already has a Driver in place and set of native methods(in low level languages) in place.all you ought to do is to make use of JNI and write a native Linking library using JNI specification which can make use of those native methods and export them to java and use them accordingly.
http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/jniTOC.html
http://www.javaworld.com/javaworld/jw-10-1999/jw-10-jni.html
http://www.ibm.com/developerworks/edu/j-dw-javajni-i.html
Hope the might help you in taking you through :)
REGARDS,
RaHuL

Similar Messages

  • Connection between the ACR122U card reader and an emulated card is failed

    Hello,
    I write a code to connect  the ACR122U card reader and a host-based card emulation on my android 4,4 phone that act as a card. When I run a code, I got this error:
    javax.smartcardio.CardException: connect() failed
      at sun.security.smartcardio.TerminalImpl.connect(Unknown Source)
      at HostCardEmulationCardScanner.run(HostCardEmulationCardScanner.java:18)
      at POS$11.actionPerformed(POS.java:567)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    Caused by: sun.security.smartcardio.PCSCException: SCARD_E_SHARING_VIOLATION
      at sun.security.smartcardio.PCSC.SCardConnect(Native Method)
      at sun.security.smartcardio.CardImpl.<init>(Unknown Source)
      ... 39 more
    what does the "SCARD_E_SHARING_VIOLATION" means?
    these are my code line  that the error tell:
    For POS.java,
    @SuppressWarnings("deprecation")
    CardTerminal cardTerminal = TerminalUtils.getAvailableTerminal().getCardTerminal();
      HostCardEmulationCardScanner cardScanner = new HostCardEmulationCardScanner(cardTerminal);
      cardScanner.run();
    For HostCardEmulationCardScanne.java
    Card card = cardTerminal.connect("direct");
    ApduTagReaderWriter readerWriter = new ApduTagReaderWriter(new AcsDirectChannelTag(TagType.ISO_DEP,
                            null, card));

    OK
    It's been awile but, I'am sure that we could only
    print an index from a card them print photo with that
    sys. The G3 was 8.6 upgraded to 9.2 with Photo Shop.
    Option was just a thought.
    Dennis
    Sorry for answering my own question kinda of. I just got my first IMac 3 weeks ago so I am still learning and exploring how to do stuff on my IMac.
    Nope in Windows XP it mounts as a network HD under "my computer" and you can copy files to and from any of the cards in printer card reader. It even shows up fine under paralles as network HD drive letter Z:. Does not matter if the printer is connected via USB or Ethernet.
    Btw after my first post I started to play with it. I figure a way to manually mount Hp printer's card readers confirmed to work on 2 different printers models Laserjet 2840 and Photosmart 3310. This trick only seems to work if you have your printer connected via ethernet tho. Goto the "Finder" then "Go" then "Connect to a server" and enter "cifs://IP of your printer" dont enter the quote and replace ip of your printer with the ip address of your printer. Btw you must remove the PW protect from printer for this to work. Not sure why if you have a password why it will not work.
    So if this work around works to manually mount the card reader in OS X is their a way to make a script or a short cut for mounting the card reader without going and entering the IP of the printer every time I want to use the card reader?

  • Flash Player, Adobe Reader and Java

    It came to my surprise when I removed flash player, adobe reader and java (not the base) my system is not heating up while i am on youtube (as i am using html5). So this means there are some serious issues with flash player on mac.
    My recommendation to people using flash is to stop using it.

    Works fine for me - I haven't made the YouTube HTML5 transition yet - I suppose because I don't have any issues with Flash Player.
    Adobe Reader shouldn't cause your system to overheat at all - I keep Adobe Acrobat XI Pro open 24/7.
    Clinton

  • T450s -- Display, NGFF SSD, Smart Card Reader, and m.2 SSD slots

    I'm looking to order a T450s and have a few questions about options when configuring the order:
    1080 Display -- Does anyone know if the 1080 display (non-touch) is made by LG or AUO or someone else? There was extensive discussion about the T440s, and people got different brands and the AUO was the preferred brand.
    16GB m.2 NGFF SSD -- If I remove this option, and want to add a 3rd party compatible NGFF SSD later, can I do this?
    3rd m.2 SSD Slot -- The options are None, 3rd m.2 SSD slot, or Smart Card Reader. If I select the Smart Card Reader option, can I later remove the Smart Card Reader and use it as a 3rd m.2 SSD slot? Or, if I select 3rd m.2 SSD slot and later want to use it for a Smart Card Reader, can I buy a Smart Card Reader and plug it into the slot?

    Lenovo uses different FHD diplays for the T450s: one by AU Optronics and the other by LG Display.
    However, the T450s uses a different LG display than the T440s. The LG screen of the T450s ("
    LP140WF3-SPD1") seems to be much better than the LG screen of the T440s.
    If you remove the 16GB M.2 SSD option, you can add a M.2 SSD later.
    If you have a device with two M.2 slots, you can't use a M.2 SSD and WWAN at the same time.
    If you have a device with three M.2 slots, you can only use single-sided M.2 SSDs in the third M.2 slot.
    Both the SmartCard reader and the third M.2 slot are attached to the mainboard via a flexible flat cable.
    If you choose the SmartCard reader, the warranty might be lost if you want to use the third M.2 slot, because you have to replace some parts that aren't so-called CRUs (consumer replaceable units).

  • Compaq 6910p Smart card reader and a sim care

    I have a compaq 6910p laptop, what is a  Smart card reader and the sim card use for

    Hey marionholt,
    I am sorry, but to get your issue more exposure, I would suggest posting it in the commercial forums, since this is a commercial product. You can do this at http://h30499.www3.hp.com/hpeb/
    I hope this helps!
    I worked on behalf of HP

  • Satelllite A100-773 and WIN 7: Card Reader and Fn-Hotkeys not working

    Hi,
    I hope that this question was not asked 100 times before. (I haven't found an answer in this forum)
    Problem:
    Card Reader and FN-Keys are not working, where can i get drivers?
    I installed Win 7 Pro on my Satellite A100-773 Notebook. All works fine and Win 7 has all drivers installed but the FN-Keys and the Card Reader are not working.
    On the Support Homepage is no driver oder anything given for this Notebook with Win 7.
    Can anyone help me with that?
    Tahnks.
    PS: it was not un upgrade version.

    hi at all,
    by now i tried the toshiba value added package for serveral model for win 7 and vista, but before finishing the installation there is an error.
    the card reader is now working with card reader criver for win vista.
    Does no one know how to fix this?!

  • I connected a USB card reader and can't see it.

    I connected a USB card reader and cant find it to download the pictures on the card.

    To tell you the truth, I don't know.  I am pretty knew to Apple products.  I did get the card reader to work.  All I did was leave the card reader connected and pulled the card out.  I waited a little bit and then reinserted and a pop up window came up with all my pictures.  I don't know why it didn't work the first few times I tried it.  Thanks for the reply babowa.

  • Magnetic card reader

    I have 2 different magnetic card readers.
    A MSR100 and a Magtek. Bother are OSX compatible. Both say to just plug them into a USB and it will read mag cards and return the info like a keyboard. But neither is doing so.
    There are no drivers or apps for said readers.
    I do not see anything in preferences for HID's.
    Dont have a clue how to go about getting these to work on a MAC.
    Mac Mini running 10.6.8
    Tx for your time.

    Neither have drivers for MAC.
    For OSX all drivers are native.  All have same exact "install instructions" which is to simply plug in via usb and that is it. That it will read and send data via text as a keyboard would.
    Was hoping someone had at least use a mag card reader of any sort with their Mac.

  • My USB CF Card reader is not mounting on my 2.5 GHZ Intel Core i5 iMac anymore. It was last week and worked fine to get pictures from my camera. Now it won't mount. I have tried another card reader and the same problem exists. Also tried different cards..

    Hi
    My USB CF (Compact Flash) Card reader is not mounting on my 2.5 GHZ Intel Core i5 iMac anymore.
    Last week it worked fine to get pictures from my camera but now it won't mount at all.
    I ejected it in the correct way rather than just disconnecting it but now i cannot get it to remount!
    I cannot even see it in the disk utility or system profiler.
    I have tried another card reader (a brand new one bought today) and the same problem exists. I've also tried different cards to see if that made a difference and they still arent being picked up on the Mac. 
    I have done all the usual things like rebooting, unplugging all other USB devices and then trying but nothing has worked.
    I'm a photographer and I'm at my wits end here. I know the cards are fine as i have been using them without issue and they are also new.
    Note: If I plug the camera in directly to the Mac, the Mac picks it up just fine as it always has done. Its just the card readers that it wont pick up anymore.
    If anyone has any ideas at all other than the following (my so called friends advice) you'd earn my undting love:
    Buy a PC
    Use the camera (Thats why i bought the reader in the first place - importing RAW files from the camera is SLOW!)
    Replace your CF cards (I have three 8GB cards two of which i had never used til today and they dont work either!)
    Buy a new card reader (this is the 5th one in two days - none work on the Mac)
    Many thanks in advance!
    LIsa

    OK, restart in Safe Mode, this will clear some caches. It's possible one or more is corrupt. To restart in Safe Mode when you hear the start up tone hold down the Shift Key until you see a progress bar. Let it fully boot then restart normally and test.
    Also I am assuming you have checked Finder - Preferences  - General and see what boxes are checked in "Show these items on desktop." You can also mount an item in Disk Utility, simply highlight it and then look in the File menu for Mount.....

  • T510 Media Card Reader and XD card

    I have a T500, but just got my daughter a T510. She is now away from home at school and having trouble with the media card reader. Seems it is very different from the one in the T500.
    Is there any place I can get instructions on how to use this reader T510 media card reader?
    Her camera uses an XD card, which just slips into the T500 reader, but she says that the media reader is a tray in the T510.
    Can it read an XD card? If so how does it operate.
    Thanks
    Solved!
    Go to Solution.

    From Personal Systems Reference; Lenovo ® ThinkPad ® Notebooks; April 2010 - Version 376
    5-in-1 reader (MMC, Memory Stick, Mem Stick Pro, SD, SDHC)
    The T510 reader is not compatible with xD cards. She will have to use a usb cable from the camera or get a usb xD carder reader.
    T510 4313 CTO i5-520 8GB 250GB win7 64 HD+/ Integrated Graphics Intel 7260.HMWG

  • I renamed the card reader and now iPhoto doesn't work

    i am using a card reader to upload photos to iPhoto. everything works fine until yesterday i renamed the card reader icon (the icon always says "Untitled" but i renamed it to something else) and now it doesn't read anymore. the warning says "Unreadable Files: 1" it's in unrecognized format. i wonder if it has anything to do with renaming the file. what can i do and how can it fix this?

    Plearn
    Welcome to the Apple user to user assistance forums
    yesterday i renamed the card reader icon (the icon always says "Untitled" but i renamed it to something else) and now it doesn't read anymore. the warning says "Unreadable Files: 1" it's in unrecognized format. i wonder if it has anything to do with renaming the file. what can i do and how can it fix this?
    Possibly
    iPhoto does not see your card reader - it sees the card so renaming it might create a problem since you are writing to the card
    Do you have photos on it you need to save? If so give image capture a try (it is in your applications folder) or use the finder -- once you have your photos off of it user your camera to reformat the card (the camera's format command) and see if that cures it (it probably will go back to untitled)
    LN

  • Not recognising USB card reader and also PhotoBooth issue

    Hi,
    I'm a new member and a bit of a numpty when it comes to Mac (new owner).
    My Macbook Pro is giving me some grief tonight and I have 2 separate (i think) issues.
    It will not recognise my USB card reader. It worked fine last week and I did eject it properly before removing it. I've tried the card reader on a PC and it is working fine....
    Also when I go to open Photo Booth it tells me that my camera is not connected or in use by another program. But as you know the camera is built in!?!?!
    I'd be very grateful for any thoughts on how I might fix the problems. The nearest Mac store is 2 hours away....
    Many thanks in advance

    bigredpaws, welcome to Apple Discussions.
    Look at
    USB and FireWire Quick Assist
    http://support.apple.com/kb/HT1151?viewlocale=en_US
    Common fixes for USB device issues (unrecognized, etc.)
    http://www.macfixit.com/article.php?story=20070824012114701
     Cheers, Tom

  • Dell 2407wfp and card reader and Mac Pro

    Does the card read work when monitor is plugged into a MacPro?
    I did not install any software but just plugged my 2407wfp into my Mac Pro using DVI port and it recognized the montior. I inserted a cf card into the monitor but nothing happend. Do I need to install any software for the usb ports and card readers to work on my Mac Pro?

    It should do. What I think you've missed is to connect the USB uplink cable (a standard USB2 A to B) from the display to your MP.

  • Tecra M11 - Card reader and corrupt images

    When I put an xD card into the Tecra M11's front slot, the pictures that it downloads are corrupted. When downloading through an external xD card reader (e.g. the camera itself) the images are okay. Here is an example of a corrupted image:
    http://www.flickr.com/photos/jasonjudge/5816195077/in/set-72157604215066892
    Here is the same image downloaded from the camera through USB:
    http://www.flickr.com/photos/jasonjudge/5856376812/in/set-72157626887798337
    Is this a Windows 7 (32 bit) driver problem (I can't find any driver updates in the awful driver website that takes me down numerous blind alleys) or could it be a hardware problem?
    Jason
    PS What is it about this forum that keeps throwing my cursor into the subject box as I'm typing in the message field?

    Hi,
    It is the Olympus xD card that came with the camera. I have never formatted it, and never had any problems using any other card reader.
    I'll try the links again for the driver. What I tend to find happens with the drivers site, is that it identifies my laptop, tells me there is a driver for hardware feature X and my OS, provides me with a link to "download this driver", and when I follow the link it takes me to a much higher level on another Toshiba site where I have to sift through hundreds of drivers for every other model of hardware, none of which are named in a way that makes it easy to identify what I need. For example, it told me there was a wireless LAN driver update recently, then sent me to the site where the drivers are named after the wireless LAN chipset, with about five different chipsets to choose from. Why does it send me to all those choices when it started out knowing everything it needed to know about my model laptop? So, I would not say it is "easy".
    I'll give it another go though.
    -- Jason

  • Toshiba Satelite L505D-GS6000 usb ports, sd card reader and speakers don't work

    OK..
    I do not know much about computers and hope that I can find help here.. I had problems with my laptop yesterday to the point where it wouldn't let me do anything. I took it to Bestbuy and the told me that parts of teh computer was disabled. At the time all I realized that all I realized that was disabled was the ability to connect to the internet. I have since found that the touch portion of the mouse does not work. The laptop says that it does not have speakers. I am not able to use the sd card reader or the usb inputs either. I am guessing that somewhere on the computer there is somewhere that I can change the settings and set it up so that these functions are not disabled... Any input that can be offered would be appreciated.. Please keep in mind that I do not know a whole heck of a lot about computers..
    -Dan

    Satellite L505D-GS6000 
    Best to restore the hard disk to its original out-of-the-box contents using Toshiba recovery media. If it doesn't work right then, you probably have a hardware failure.
    See the section Recovering the Internal Storage Drive, which begins on p. 61 of the User's Guide.
       Satellite L500 Series User’s Guide
    -Jerry

Maybe you are looking for

  • Backing Up and Restoring the Message Store v.s. the queue

    Hello, We are running iPlanet 5.2 Messaging Server and need to migrate to another (duplicate) 5.2 Messaging Server. We have all the software installed and the LDAP user accounts created. Now we just need to move the existing mail from one server to t

  • Background job cann't open the Spool list, the error as below.

    Hi, experts, My background job 'Z1RM0063' couldn't open the spool list, the error as below: ' The selected section of the spool request 20,004 in SYSTME SID is empty.' Who could tell me this is why ? Thank you very much in advance, B.R Michael

  • Need help adding a barcode annotation in Acrobat X with C#

    Hello All, I am trying to add a barcode into a PDF document using a new annotation but I can't find a way to set the font. Please help and thanks, Bob

  • CF Line Debugging: CPU Load

    I've enabled Eclipse Debuggin for my CF application. I managed this with the Line Debugging option within CF Admin, which works perfectly. The Problem is, that seconds after I activated the Line Debugger on my server, the CPU load goes to 100%. This

  • Illustrator is not printing whole artboard.

    My art board is 1066mm x 83mm. Width of my paper is 1075mm. I am printing with custom size to those specs. Everything looks good on print preview. Printer is pushing out about 4 inches of blank paper. Then prints only the first 11 inches of what's on