Create the Android Client Software Library Sample Applications
The Android client library sample applications must be created before they can run on your device.
- Build the directly connected device sample application:
- Open a command prompt.
- Browse to
C:\Users\user-name\Documents\iotcs\csl\<version>\android\samples
. - Run this command:
gradle build
.
- Confirm the Android application package (APK) was created:
- Browse to
C:\Users\user-name\Documents\iotcs\csl\<version>\android\samples\dcd\app\build\outputs\apk
. - Confirm the
app-debug.apk
file is in the folder
- Browse to
- Build the Enterprise sample application:
- Open a command prompt.
- Browse to
C:\Users\user-name\Documents\iotas\cal\<version>\android\samples\EC
. - Run this command:
gradle assemble
.
- Confirm the Android application package (APK) was created:
- Browse to
C:\Users\user-name\Documents\iotcs\csl\<version>\android\samples\EnterpriseClientSample\app\build\outputs\apk
. - Confirm the
app-debug.apk
file is in the folder
- Browse to
- Run the sample applications. See Run the Sample Android Directly Connected Device Application or Run the Sample Android Enterprise Application.