我有一个嵌入式电话应用程序,该电话运行的是Android 7,没有任何GMS应用程序,包括播放服务,因为它不是经过GMS认证的设备。
我可以在此设备上使用Google条码读取SDK,还是需要运行Google Play服务?
答案 0 :(得分:2)
这里有两个选项:
路线1-使用Google条形码阅读器
如果您要走这条路线,一个先决条件是:必须使用Google Play服务,因为您要使用Google的服务(Google Mobile Vision SDK)。尝试检查它们的codelab,您将看到必须使用的所有必备库。
路线2-不使用Google Play服务(GPS)
如路线所述,这将使用外部或第三方库。
参考文献:
Scan QR code without using google play services
How to install the barcode scanning library without a google account?