Configuration

Please follow the steps below to add the Zoho Lens SDK to your app in Android Studio.
 

Step 1: Add the maven repository to the root build.gradle file (/build.gradle).

Copiedallprojects {
    repositories {
        maven {
            url "http://build/zoho_android/"
        }
    }
}

Step 2: Add the dependency below to your app's build.gradle file (app/build.gradle).

Copieddependencies {
    implementation('com.zoho:lens:2.0.7')
}

Step 3: Press Sync Now in the bar that appears in the IDE.

 

Step 4: Generate an SDK token from your Zoho Lens account.

 

Step 5: Get the session ID from Lens.