简体   繁体   English

适用于iOS和Android的条形码sdk我应该使用它来扫描移动包装上的IMEI号码

[英]which barcode sdk for iOS and Android I should use to scan IMEI number on mobile wrapper

I want to scan the barcode of IMEI of mobile device using mobile application. 我想使用移动应用程序扫描移动设备IMEI的条形码。 Current barcode type of IMEI is of 15 numeric digit, as shown in following image : IMEI的当前条形码类型为15位数字,如下图所示:

在此输入图像描述

  1. Please let me know the barcode codec type it is using? 请告诉我它正在使用的条形码编解码器类型?
  2. SDK to scan this barcode for iOS application SDK扫描此条形码的iOS应用程序
  3. SDK to scan this barcode for Android application SDK扫描此条形码的Android应用程序

There are a lot of Barcode SDKs out there that can read the IMEI barcodes which is a Code128 type Barcode. 有很多条形码SDK可以读取IMEI条形码,这是Code128类型的条形码。

The company I work for has a Barcode SDK that supports reading over 100 1D and 2D barcode types including Code128 on many different platforms including iOS and Android. 我工作的公司有一个条形码SDK ,支持在包括iOS和Android在内的许多不同平台上读取超过100种1D和2D条形码类型,包括Code128。

Here is all the code you would need in order to read these types of barcodes on your devices: 以下是在设备上阅读这些类型的条形码所需的所有代码:

Android Android的

BarcodeData data = null; 
data = mBarcodeEngine.getReader().readBarcode(<image to be processed>, <screen coordinates to search in>, <barcode symbologies to search for>); return data;

iOS Obj-c iOS Obj-c

data = [_barcodeEngine.reader readBarcodes:rasterImage 
searchBounds:LeadRectZero symbologies:enabledSymbologies options:_barcodeReadOptions error:&error]; 

iOS Swift iOS Swift

data = try? self.barcodeEngine.reader.readBarcode(rasterImage, searchBounds: 
LeadRectZero, symbologies: enabledSymbologies, options: self.barcodeReadOptions)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM