The app SDK provides developers with what’s needed to create mobile apps that collect data from participants. You can create a mobile app that solicits survey responses from the participant, receives data from the wearable device, displays information to the participant, and transmits the data to a backend system (yours or ours) for further analysis. Building blocks cover:
The stack also includes:
Refer to Samsung Developer Portal for documentation, or jump directly to:
Follow these instructions to install, build, and verify the app SDK.
If you are installing the full stack, this installation requires successful prior completion of the backend system installation.
Open your project's build.gradle file in a text editor or an IDE that supports Kotlin DSL.
Locate the dependencies
block in the build.gradle file. If the block doesn't exist, you can add it at the end of the file:
dependencies {
// dependencies go here
}
Add the S-HealthStack SDK and related module dependencies inside the dependencies
block, like so:
dependencies {
implementation("io.s-healthstack:kit:1.0.0")
implementation("io.s-healthstack:app-support:1.0.0")
implementation("io.s-healthstack:healthdata-link:1.0.0")
implementation("io.s-healthstack:healthconnect:1.0.0")
implementation("io.s-healthstack:backend-integration:1.0.0")
implementation("io.s-healthstack:healthstack-adapter:1.0.0")
}
These dependencies will add the necessary modules of the S-HealthStack SDK to your project. You can find a list of all the modules here: Maven Central - s-healthstack.
Version 0.9c refers to the beta version. Please refer to the Maven Center to see the latest versions.
Save the build.gradle file.
Build your project with Gradle, either using the command line or from within your IDE. Gradle will automatically download the SDK and its dependencies from the appropriate repositories and include them in your project.
Test either all modules or just the kit.
./gradlew test
./gradlew :kit:test
Refer to our API reference and SDK reference documentation for details on all the backend API endpoints and SDK packages.