Example Application
Android application written in Kotlin
An example app and its complete source code are provided with the NixUniversalSDK
download, available online. To review the example, use Android Studio to open the example-android
folder.
The example app demonstrates:
- Activating and displaying license information
- Device discovery on Bluetooth and USB interfaces
- Opening and closing a connection to a device
- Displaying additional device info (serial number, battery level, etc.)
- Toggling device options (haptic feedback, RGB feedback, etc.)
- Taking measurements
- Obtaining colorimetry and spectral data from measurements
- Performing in-field calibration on the provided reference tile
- Displaying additional measurement information (temperature, scan settings, etc.)
Tip
The example application will activate the SDK license at launch using the values entered in LicenseKey.kt
. The example also allows entry of different license codes at runtime.