0

I'm making an app for Android and UWP that connects to a barcode scanner over bluetooth, but I'm really struggling getting the right lib or something because System.IO.Ports isn't available.

I also tried to implement both in some abstraction library, but it seems difficult. Is there someone who can help me out?

Thanks in advance

Prashant Cholachagudda
  • 13,012
  • 23
  • 97
  • 162
Maxim DC
  • 5
  • 9

2 Answers2

0

You need to create different implementation for different platform.

For Android platform, there are some discussions, for example:

For Universal Windows Platform, the Barcode Scanner API is the right thing we need to use. Please notice the Remark part in that document.

The official Barcode scanner sample is a good demo for beginner.

Community
  • 1
  • 1
Franklin Chen - MSFT
  • 4,845
  • 2
  • 17
  • 28
0

A bit late but... I am using this Nuget Package: https://github.com/inthehand/32feet

It supports Classic Bletooth and Bluetooth BLE, and it works both on Android and iOS. The project is supported at this date and it is very well documented.

Michele
  • 101
  • 1
  • 6