Build demo app

This page covers the steps for building the demo application

The sources of demo application can be found here.

  1. Download and install the latest Android Studio.

  2. Download or clone the repository using the following command git clone https://github.com/regulaforensics/DocumentReader-Android.git.

  3. Launch Android Studio and select Open an existing Android Studio project, then select DocumentReader-sample project in file browser.

  4. Download additional files proposed by Android Studio to build project (e.g., build tools).

  5. Visit licensing.regulaforensics.com to get the trial license (regula.license file) and documents database (db.dat file). Download both files to your computer. You can create license by clicking "Generate demo license". License creation wizard will guide you through necessary steps. You can select and download appropriate database version on "Databases" page.

  6. Change the application ID in the DocumentReader-sample/app/build.gradle file to the one you have specified during registration at licensing.regulaforensics.com (com.regula.documentreader by default).

  7. Copy regula.license file to DocumentReader-sample/app/src/main/res/raw folder.

  8. Copy downloaded database (db.dat file) to DocumentReader-sample/app/src/main/assets/Regula folder.

  9. Build and run the application.

Last updated