如何传递意图要求用户选择任何应用程序来扫描二维码?
我正在制作一个 Android 应用程序,需要扫描二维码,然后将文本解析为结果。我想将意图传递给其他应用程序,例如谷歌护目镜或条形码扫描仪,它们可以有效地完成工作,并根据意图取回扫描的文本。
我已经阅读了其他相同的问题,发现我也可以使用 Zxing 库来完成此操作,但我希望此功能由其他预安装的应用程序来处理。
那么有人可以帮助我解决在这种情况下传递意图的方式吗?
I am making a android app which requires QR code scanning and then parsing the text as a resul. I would like to pass intent to other apllications like google goggles or Barcode scanner which can do the job efficiently and take the scanned text back as result of the intent.
I have read the other questions out there for the same and found that i can do it with Zxing library also, but i would like this functionality to be handled by other pre-installed app.
So could someone help me with the way we will pass intent in this case.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:http://code.google.com/p/zxing/wiki/ScanningViaIntent
Try this one: http://code.google.com/p/zxing/wiki/ScanningViaIntent