xamarin android使用zxing扫描二维码

本文介绍了如何在Xamarin Android应用中使用ZXing.Net.Mobile库进行二维码扫描,以读取URL并进行相关操作。内容包括ZXing库的简介、NuGet包安装、基本代码实现以及二维码扫描界面的自定义讨论。
摘要由CSDN通过智能技术生成

好久没写了,这片文章篇幅不长,概述一下在xamarin android中用 ZXing.Net.Mobile库扫描二维码读取url的示例。扫码支付,扫码登录,App上各种各样的扫码,好像没个扫码的就有点low一样似的,主要就是利用这个原理扫描二维码读取其中的url,url由不同的参数组成,然后根据url发送请求做各种事情

zxing更多详细的内容见官网:http://zxingnet.codeplex.com/
ZXing.Net.Mobile github源码:https://github.com/Redth/ZXing.Net.Mobile

官方介绍:
ZXing.Net.Mobile is a C#/.NET library based on the open source Barcode Library: ZXing (Zebra Crossing), using the ZXing.Net Port. It works with Xamarin.iOS, Xamarin.Android, and Windows Phone. The goal of ZXing.Net.Mobile is to make scanning barcode

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值