Skip to main content
Version: 3.11

Steps Project

This project is a demo Android app to show how to integrate our decoding library in an Android Project. To make it work, just follow the few steps below.

  • Import the demo project into Android Studio
  • Download the decoding library from http://scan.smartidlab.com or use the library sent with your demo project
  • Put the decoding library files you received under app/src/main/jniLibs in your project
app/src/main/jniLibs
app/src/main/jniLibs/arm64-v8a/libicaredecoders.so
app/src/main/jniLibs/armeabi-v7a/libicaredecoders.so
app/src/main/jniLibs/x86/libicaredecorders.so
app/src/main/jniLibs/x86-64/libicaredecorders.so
  • Then put smartscan-release.arr into the folder /smartscan-lib
  • Set the decoding type according to the decoding library you downloaded, into the MainActivityFragment (see below in Implementation) :
mSmartScanner.setDecodingType(IcareDecoders.CODE_OCRB, IcareDecoders.CODE_BVR);

Be careful because from the new version of Smart ID Scan you must enter a type and a subtype to start using the scanner.

Voilà! This is all you need to launch this project on a real device for testing purposes.