Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate Samsung Gear Steps in android Application?

I want to integrate Samsung Gear device for steps in my application, also jawbone Steps and misfit Steps. I've looked at several things, like the Samsung Gear Site, but found nothing that works for me.

like image 614
Riyaz Parasara Avatar asked Oct 25 '16 07:10

Riyaz Parasara


People also ask

How do I sync steps on Samsung health?

Sync your health data after each step.Open the Samsung Health app on your phone. Tap Menu (the three horizontal lines), and then tap the Settings icon. Tap Sync with Samsung account, and then tap the switch at the top to turn it on. Tap Sync now.

What apps can sync with Samsung health?

The Connected Services feature allows Samsung Health users to sync data with third-party apps and services such as Microsoft Health, Misfit, Fitbit, Jawbone, and Runkeeper.

How do I link apps to my Samsung watch?

On your phone, open the Galaxy Wearable app, and then tap the Home tab. Note: The Galaxy Watch5 series, Watch4 series, Watch3, and Watch Active2 do not have a Home tab. Tap Apps, and then swipe to and tap Manage apps.


1 Answers

For connection and data transfer between mobile android device and Samsung Gear device , Accessory Protocol is defined. So, the option available here is using Accessory SDK for Android mobile and Tizen wearable.

Tizen provides HumanActivityMonitor for 3rd party developers to retrieve Pedometer step count data.

I have developed a sample app in Tizen platform for reading pedometer step count data in gear and send the data to Consumer Android mobile app while the mobile and wearable is connected through Samsung Gear Manager. Its just a customization over the sample apps available on the sites reffered.

I am sharing the code of the tizen web app along with the installer(.wgt) file. If you are not interested in tizen development right now, you may install the app directly to the Samsung gear using the wgt file.

I am also sharing the code of the android app along with the installer(.apk) file. You may try a sample transmission between the devices and do your code on android platform as necessary. I have tested the apps on my devices and they are working good, though some data inconsistency occurs.

Zip file link:

Android consumer app (apk)

Android consumer app (code)

Tizen provider app (wgt)

Tizen provider app (code)

https://drive.google.com/file/d/0B6KEP_6UcxrATllCWTlmeUh1M28/view?usp=sharing

enter image description here enter image description here

enter image description here enter image description here

Human activity monitor API

Human Activity Monitor Guide

Accessory SDK

Please read the Accessory guide and HumanActivityMonitor guide for details implementation, you would find simple explanation there.

like image 163
Md. Armaan-Ul-Islam Avatar answered Oct 14 '22 14:10

Md. Armaan-Ul-Islam