Build demo app
This page covers the steps for building the demo application
The sources of demo application can be found here.
Download and install the latest Android Studio.
Download or clone the repository using the following command
git clone https://github.com/regulaforensics/DocumentReader-Android.git
.Launch Android Studio and select Open an existing Android Studio project, then select DocumentReader-sample project in file browser.
Download additional files proposed by Android Studio to build project (e.g., build tools).
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.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).Copy
regula.license
file toDocumentReader-sample/app/src/main/res/raw
folder.Copy downloaded database (
db.dat
file) toDocumentReader-sample/app/src/main/assets/Regula
folder.Build and run the application.
Last updated
Was this helpful?