How to Integrate the BlinkID SDK for Android into Your Application

Feb 2, 2021 | Educational

The BlinkID Android SDK is a game-changer when it comes to creating a seamless onboarding experience in your applications. With its incredible capabilities to extract information from various identity documents in less than 400ms, this tool is truly fast, secure, and intelligent. In this guide, we’ll walk through the integration process step-by-step, along with troubleshooting tips to help you along the way.

Table of Contents

Quick Start

Ready to integrate the BlinkID SDK? Follow these quick and simple steps to get started:

  1. Open Android Studio.
  2. Select Import project from the Quick Start dialog.
  3. Choose the BlinkIDSample folder from your local directory.
  4. Wait for the project to load; if prompted, select “Yes” to reload.

Included sample apps will help you understand how to integrate the BlinkID SDK into your application easily.

SDK Integration

Adding BlinkID Dependency

To integrate the BlinkID SDK into your application:

  • In your build.gradle, add the BlinkID maven repository:
  • repositories {
        maven {
            url "https://maven.microblink.com"
        }
    }
  • Then, add the BlinkID dependency:
  • dependencies {
        implementation("com.microblink:blinkid:6.10.0@aar") {
            transitive = true
        }
    }

Device Requirements

The BlinkID SDK needs certain specifications to operate effectively:

  • Android API level 21 or newer.
  • Camera must support at least a 720p video preview resolution.
  • ARMv7 or ARM64 processor architecture.

Integration Levels

You can integrate the BlinkID SDK into your app in five different ways:

  • One line document scanning: For basic scanning with minimal setup.
  • Built-in activities: Utilize UISettings to make limited customizations.
  • Built-in fragment: Reuse the SDK’s UI in your own activity.
  • Custom UX: Completely tailor the scanning experience.
  • Direct API: Control over how recognition is performed.

Troubleshooting

If you encounter issues during SDK integration or scanning, follow these troubleshooting tips:

  • Double-check the integration steps mentioned above. Make sure every dependency is added correctly.
  • Only one license can be active at a time for your application; If you receive a licensing issue, check the ADB logcat for errors.
  • Enable verbose logging by adding the line com.microblink.blinkid.util.Log.setLogLevel(com.microblink.blinkid.util.Log.LogLevel.LOG_VERBOSE); to see detailed processing logs.
  • If scanning does not work on specific devices, try testing on different hardware to verify compatibility.
  • For further assistance, please reach out to our support team at help.microblink.com.
  • For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Conclusion

By following this guide, you should be well on your way to integrating the BlinkID SDK into your Android application, delivering a modern and efficient onboarding experience. Happy coding!

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox