Development Process

If you checked prerequisites and downloaded the SDK, it's ready to create your application. Make it with the following steps.

Checking Samsung Health's Trackers

Health Service is related deeply to the Samsung Health's tracker feature. Samsung Health provides useful trackers. Find Samsung Health > Manage items:

  • Use Samsung Health's each tracker.

  • Check the tracker operation on Samsung Health.

  • Find a similar existing Samsung Health's tracker before defining a new tracker for your app.

Note

Existing Samsung Health's trackers need to be considered first before creating an app's tracker. If the app's tracker is duplicated with Samsung Health's exiting tracker, the app may be rejected as the partner app.

Creating an Application

Create your app with the SDK. Hello Tracker Provider shows how to use Health Service.

Data Synchronization with Samsung Health

Health data synchronization with Samsung Health is essential to use the SDK. The SDK supports useful data types.

If your desired data type for your app, you can read Samsung Health‘s data or write your app's data to Samsung Health through the SDK's Health Data. An app that defines its own tracker without data synchronization can be rejected as Samsung Health's partner apps. See more Health Data documents.

Testing Your Application

The app that uses the SDK works with Samsung Health after the partner app approval. It needs to be tested fully before applying for the partner app. The SDK provides the following environments.

  • Samsung Health‘s developer mode.

  • Checklist for Samsung Health's partner app.

You can apply for Samsung Health's partner app before publishing your app. Otherwise the app publication can be first before applying for partner app. The former is proper to provide a seamless service of your app.

Note

Samsung Health SDK doesn't support the Emulator test. Android 4.4 KitKat (API level 19) device or above is required to test your app.

Samsung Health's Developer Mode

Samsung Health provides the developer mode for the test before the partner app approval. The Samsung Health's developer mode is not activated by default. You can activate it with the following steps.

  1. 1) Select the action overflow of Samsung Health on the top-right side.
  2. 2) Find Settings > About Samsung Health in the action list.
  3. 3) Tap the version region quickly for 10 times.
    The exact region, illustrated in the red and blue box of Figure 3 needs to be tapped.
  4. 4) If it succeeds, "*(Developer Mode)*" is shown in front of the version and it means the developer mode is activated. Now you can test your app with Samsung Health.

Figure 3 shows how to turn on or off the developer mode in Samsung Health. If you tap the version region quickly for 10 times in the developer mode as the right figure, the developer mode is deactivated.

Figure 3: On or off of Samsung Health's developer mode Figure 3: On or off of Samsung Health's developer mode
Checklist for Samsung Health's Partner App

Samsung Health SDK provides a checklist that includes basic test items for the app test. Download it here and check your app before applying for partner app. It helps you save the time on the registration process for Samsung Health's partner app.

Publishing Your Application

If your application is ready, make a package and publish it on the app market such as Google Play.

Requesting for Partner Apps

The application will work properly with Samsung Health after the partner app approval. Samsung Health team checks the app's violations and registers your app as the Samsung Health's partner because health data is closely connected to the privacy issue.

You can request for the partner application on the developer site.

Note

Only the approved partner app runs with Samsung Health. Otherwise the application can be run tested on the developer mode.