我必须使用 UniMag Pro 设备在 Swipe 上读取卡片。我下载了UniMag_SDK_v5.0.jar
. 并执行与以下链接相同的操作:https ://stackoverflow.com/a/13654279/4466607
我也尝试过:
myUniMagReader.setXMLFileNameWithPath(null);
和
// filePath :/data/data/com.example.braintech.myapplication/files/idt_unimagcfg_default.xml
myUniMagReader.setXMLFileNameWithPath(filePath);
但我收到以下错误。
on D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
10-11 13:12:56.857 10176-10176/com.example.braintech.myapplication D/Atlas: Validating map...
10-11 13:12:57.151 10176-10215/com.example.braintech.myapplication I/Adreno-EGL: <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016_msm8610_LA.BF.1.1.1_RB1__release_AU ()
OpenGL ES Shader Compiler Version: E031.25.03.00
Build Date: 02/11/15 Wed
Local Branch:
Remote Branch: quic/LA.BF.1.1.1_rb1.10
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016 + 62ca4eb + acd831d + 9f8b442 + e027a02 + cba30ba + 53c303a + a649d79 + 23e16f8 + 5e97da7 + cbd2a44 + 33d072a + 7aacf06 + 72b33e7 + 28f6f60 + b4c13d8 + NOTHING
10-11 13:12:57.166 10176-10215/com.example.braintech.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
10-11 13:12:57.199 10176-10215/com.example.braintech.myapplication D/OpenGLRenderer: Enabling debug mode 0
10-11 13:12:57.237 10176-10176/com.example.braintech.myapplication W/UMSDK: SDK: reader attached, but no config loaded
10-11 13:13:04.911 10176-10453/com.example.braintech.myapplication D/MainActivity: FilePath :/data/data/com.example.braintech.myapplication/files/idt_unimagcfg_default.xml
10-11 13:13:05.002 10176-10186/com.example.braintech.myapplication W/art: Suspending all threads took: 10.908ms
10-11 13:13:05.391 10176-10453/com.example.braintech.myapplication D/UniMag: getUserGrant -- Checking if user grants downloading latest XML from Server.
10-11 13:13:05.392 10176-10176/com.example.braintech.myapplication D/Background: onPostExecute
10-11 13:13:18.618 10176-10176/com.example.braintech.myapplication W/UMSDK: SDK: Task not started: SDK config not loaded
当我连接设备时:我收到错误日志:
W/UMSDK: SDK: reader attached, but no config loaded
当我开始扫描时:
myUniMagReader.startSwipeCard();
但我得到这个错误:
W/UMSDK: SDK: Task not started: SDK config not loaded
请帮我解决这个问题..谢谢