Validic Inform

Validic Inform Developer Hub

Welcome to the Validic Inform developer hub. You'll find comprehensive guides and documentation to help you start working with Validic Inform as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Android Quick Start Guide

Prerequisites

In order to use the Validic Mobile Library, you will need a valid organization id and valid user credentials. If you do not already have an organization id, you will need to first apply for one. After your organization is set up, you will need a Validic user id and access token. You can create a new user by referring to the API documentation.

System Requirements

A minimum sdk of 19 is supported (you may choose a higher value):

    android {
        compileSdkVersion 22
        buildToolsVersion "23"
    
        defaultConfig {
            minSdkVersion 19
            targetSdkVersion 21
        }
    }
    

And to use VitalSnap requires a minimum sdk version of 21:

android {
        compileSdkVersion 22
        buildToolsVersion "23"
    
        defaultConfig {
            minSdkVersion 21
            targetSdkVersion 24
        }
    }
    

Installation

Copy the aars:

and place it in your project’s libs folder:

If your project does not currently contain a libs folder, simply create the folder.

Next, open your app’s build.gradle file and add the following lines to your Gradle file:

android{
    ...
        repositories {
        ...
            flatDir{ dirs 'libs' }
        }
    }
    

Individual modules

Starting with version 1.6.0 the library has been divided into 4 separate modules. Add the dependency to your app’s build.gradle file:

 dependencies {
    
        //For all projects
        compile ':validicmobile-shared@aar'
        compile 'com.android.support:support-v4:+'
        compile 'com.google.code.gson:gson:2.6.2'
        compile 'com.koushikdutta.async:androidasync:2.1.7'
    
        // For bluetooth
        compile ':validicmobile-ble@aar'
        compile 'no.nordicsemi.android.support.v18:scanner:1.0.0'
        compile 'com.polidea.rxandroidble:rxandroidble:1.2.2'
    
        //for VitalSnap
        compile ':validicmobile-ocr@aar'
    
        //for Samsung Health
        compile ':validicmobile-shealth@aar'
        compile files('libs/samsung-digital-health-healthdata-1.2.1.jar')
    
    }

Finally, initialize the library within your Application class’s onCreate:

        @Override
        public void onCreate() {
            super.onCreate();
    
            ValidicMobile.getInstance().initialize(this);
    
        }
 dcsdv

Android Quick Start Guide