Android的:如何读取磁条(信用卡等)数据磁条、信用卡、数据、Android

2023-09-12 11:10:27 作者:犀利铜锣烧

在实际应用的实际上是一个Web应用程序,但因为我的第一个即时通讯pression是,有没有办法用正常的(机器人)的网络浏览器做到这一点,现在,我想这的也许的有可能与一个web视图。

The actual app is actually a web app but since my first impression is that there is no way to do this with a normal (android) web browser right now, I figured this might be possible with a WebView.

是否有读卡器附件在那里,有原料药/软件开发工具包为Android?

Are there card reader attachments out there that have APIs/SDKs for android?

推荐答案

我们已经找到了一个可行的解决方案。的MagTek提供一个装置,与正在使用的SquareUp所述一个相似的。该设备是稍微更大,更重,但他们提供的SDK为Android,iOS和Windows手机。 Android SDK中可以发现,这里下载:

We have found a viable solution. MagTek offers a device that is similar with the one being used by SquareUp. The device is slightly larger and heavier but they offer SDKs for Android, iOS and Windows Phones. The android SDK can be found and downloaded here:

http://www.magtek.com/support/software/programming_tools/

查找涉农供应链SDK 的

您也可以直接与他们联系我们公司这样做,他们可以为您提供最新的软件开发工具包。

You can also contact them directly as our company did so they can provide you the latest SDKs.

更新:

也试过idtech的UniMag移动读卡器:

Also tried idtech's UniMag mobile card reader:

http://www.idtechproducts.com/products/mobile-readers/112.html

我测试了在三星Galaxy Tab 10.1运行Android 3.1。像宣传的那样。

I tested this on a Samsung Galaxy Tab 10.1" running Android 3.1. Works as advertised.

更新2: 我们的应用程序,使用这个现在可以在Android商店中(但它是不是真的有用其他任何人除了我们的企业客户)。本质上,该应用是一个本地包装应用程序与web视图和web应用和包装之间的通信抽象和使用JavaScript进行。从理论上讲,任何人都可以使用您的包装与他们的Web应用程序,只要Web应用程序知道但是我不允许释放API也没有任何具体的实施细节的API。我想,如果有人有兴趣,有良好的'醇反编译器将揭示实施。

Update 2: Our app that uses this can now be found on the android store(but it isn't really useful to anyone else aside from our enterprise customers). Essentially, the app is a native wrapper application with a WebView and the communication between webapp and wrapper is abstracted and performed using javascript. In theory, anyone can use your wrapper with their webapp as long as the webapp knows the API however I am not permitted to release the API nor any specific implementation details. I suppose if anyone is interested, a good 'ol decompiler will reveal the implementation.