Genius Scan SDK guide for Android


The Android SDK is provided as different Android libraries:


Add the SDK modules to your app

Add the following code to your app’s build.gradle:

   repositories {
       maven { url '' }

   dependencies {
      implementation 'com.geniusscansdk:gssdk-core:<VERSION>'


The SDK can run without a license key but will stop working after 60 seconds.

To run it for longer than 60 seconds, you will need to initialize the SDK with your license key using the following command:

GeniusScanSDK.init(context, "Your key")

This method throws an InitializationException when the license cannot be validated or has expired. It is advised to catch it and show a message to your users asking them to update the app.

Sample code

Two demo projects are provided in the SDK Demo apps repository:

In order to run the provided demos, open the root folder in Android Studio.

Size of the SDK

The Android SDK includes support for the following CPU architectures: x86, x86_64, armeabi-v7a, arm64-v8a. When integrated into your app, the SDK will increase the size of your APK by 9MB by default.

If you’d like to optimize the size of your app, you can either

© 2010 The Grizzly Labs, Inc. All rights reserved.