• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Magnetic Stripe Reader - Java

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to develop a program which will read magnetic strip data using USB port. I have a card reader which does not have any SDK, through which I would be able to communicate with the device. Can someone help me on this? I am need to know how to begin?
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would start by working out if/how you can communicate with your USB device. Java does not provide native support for USB devices so you will need to use a third party library such as Usb4Java. BTW I've not used this library so I'm not necessarily recommending you use this particular library. However you might want to check out their site as they provide information on how to write a device driver etc.
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://github.com/kevinbrewster/MagStriper
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

john bean wrote:https://github.com/kevinbrewster/MagStriper



Little too late for OP, I fear.

Also, that's a MacOS only solution, not a Java one. Seems to be written in one of Apple's proprietary languages.
 
reply
    Bookmark Topic Watch Topic
  • New Topic