寻找一种连接磁条阅读器 Android 的方法
我对 Android 开发比较陌生,但对编程却不是。我希望能够通过蓝牙或 USB 接口使用带有磁条阅读器的 Android 平板电脑。 Android 能够读取枪的串行输入吗?如果是这样,任何人都可以向我指出为此输入编写类所需的库吗?
提前致谢
I'm relatively new to android development, but not to programming. I'd like to be able to use an Android Tablet with a mag-stripe reader, either via bluetooth or USB interface. Is Android capable of reading the serial input from the gun? If so, can anyone point me to the libraries I would need to write classes for this input?
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Square 使用音频插孔磁条阅读器。您可以使用类似的设备,如下所示: http://www.idtechproducts.com/产品/mobile-readers/112.html
Square uses an audio jack mag-stripe reader. You could use a similar device like this: http://www.idtechproducts.com/products/mobile-readers/112.html
我认为构建窃取设备的最简单方法是使用标准串行 USB 加密狗/芯片(例如来自 ftdi< /a>) 已经有 Linux 的串行驱动程序。有很多优秀的磁卡读卡器支持 RS-232,与在没有文档的情况下编写 USB 驱动程序相比,针对串行设备进行编程是小菜一碟。
I think the easiest way to build your skimming gear would be to use a standard serial usb dongle/chip (such as one from ftdi) that already has a serial driver for linux. There are a lot of good magnet card readers that talk RS-232, and programming against a serial device is a piece of cake compared to writing a usb-driver without documentation.