【问题标题】:Is there a way to enable scanning of ITF-14 barcodes programmatically on the Android Zebra TC520K?有没有办法在 Android Zebra TC520K 上以编程方式扫描 ITF-14 条码?
【发布时间】:2019-11-01 18:02:41
【问题描述】:

我使用 Android studio 编写我的 android 代码,使用 javascript/jquery 编写我的 javascript 前端 (webView)。

现在,我可以通过 DataWedge 手动启用它,但不能以编程方式。

有什么想法吗?

【问题讨论】:

    标签: android jquery webview barcode-scanner


    【解决方案1】:

    有一个 DataWedge API,SET_CONFIG (https://techdocs.zebra.com/datawedge/7-4/guide/api/setconfig/),它通过向 DataWedge 服务发送 Android Intent 来调用。你能从你的应用程序发送意图吗?例如。通过将 addJavascriptInterface 暴露给您的 WebView 前端。如果是这样,您可以使用 SET_CONFIG API 来配置 I 2 of 5 符号系统。

    【讨论】:

    • 谢谢。这实际上就是我们最终要做的。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-09-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-28
    • 1970-01-01
    相关资源
    最近更新 更多