MonoTouch 条形扫描仪?

发布于 2024-12-06 13:10:42 字数 175 浏览 1 评论 0原文

我一直在研究制作一个 iOS 应用程序,它使用相机拍摄条形码(例如代码 39)的照片并正确读取它们。

只是查看了一些库,不确定是否有我想要的功能,但它们都在 iOS 上使用 Objective-C。

我想也许我应该问 MonoTouch 中是否有解决方案,因为这就是我想要为 iOS 制作应用程序的方式?

I've been looking into making an iOS app which uses the camera to take a photograph of a barcode (such as code 39) and reading them in properly.

Was just looking at a few libraries, not sure if any work as I'd like but they're all using objective-c for iOS.

Thought maybe I should ask if there is a solution in MonoTouch since that is how I want to make the app for iOS?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

烛影斜 2024-12-13 13:10:43

MonoTouch 邮件列表上运行着一个类似的线程

RedLaser 最新(比 mono 的 git 存储库更新)绑定位于:https://github.com/chrisbranson/monotouch-bindings
示例代码位于: https://github.com/chrisbranson/RedLaserSample

另一个建议是使用:< a href="https://github.com/GoranHalvarsson/BarcodeReader-MonoTouch" rel="nofollow">https://github.com/GoranHalvarsson/BarcodeReader-MonoTouch

其他人已经使用(商业)LineaPro SDK(一些 MonoTouch 绑定也可以在 github 上找到)。

There is a similar thread running on MonoTouch mailing-list.

RedLaser latest (newer than mono's git repository) bindings are available at: https://github.com/chrisbranson/monotouch-bindings
with sample code available at: https://github.com/chrisbranson/RedLaserSample

Another suggestion was using: https://github.com/GoranHalvarsson/BarcodeReader-MonoTouch

Other people have using the (commercial) LineaPro SDK (some MonoTouch bindings are available on github too).

北风几吹夏 2024-12-13 13:10:43

这是 Redth 的另一篇文章:

https://github.com/Redth/ZXing.Net.Mobile< /a>

他的示例用法:

var scanner = new ZXing.Mobile.MobileBarcodeScanner();
scanner.Scan().ContinueWith((result) => {   
   if (result != null)
     Console.WriteLine("Scanned Barcode: " + result.Text);
});

Here is another one by Redth:

https://github.com/Redth/ZXing.Net.Mobile

His example usage:

var scanner = new ZXing.Mobile.MobileBarcodeScanner();
scanner.Scan().ContinueWith((result) => {   
   if (result != null)
     Console.WriteLine("Scanned Barcode: " + result.Text);
});
烟火散人牵绊 2024-12-13 13:10:43

您可以使用 Monotouch 将本机 Objective-C 库绑定到您的 monotouch 项目。

您可以在此处找到有关此主题的详细信息:

http://ios.xamarin.com/ Documentation/Binding_New_Objective-C_Types不再可用

您可以找到一个现成的绑定Github 上的 RedLaser:

You can use Monotouch to bind the native objective-c libary to your monotouch project.

You can find detail information about this topic here:

http://ios.xamarin.com/Documentation/Binding_New_Objective-C_Types (NOT AVAILABLE ANYMORE)

You can find a ready to use binding for RedLaser on Github:
https://github.com/mono/monotouch-bindings

像你 2024-12-13 13:10:43

我的也有效:

http://www.jmawebtechstore。 com/p/21/ios-monotouch-barcode-scanner-reader网页内容不再可用

我有一个完整的条形码扫描应用程序可提供源代码。我的应用程序将条形码保存到数据库,将照片保存到相册。

Mine also works:

http://www.jmawebtechstore.com/p/21/ios-monotouch-barcode-scanner-reader (WEB CONTENT NOT AVAILABLE ANYMORE)

I have a whole barcode scanning app available with source code. My app saves barcodes to the database and photos to the photo album.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文