语言

Menu
Sites
Language
Fit 2 Simple Development.
Hello,
I am using a Fit2 Pro.
 
I have been developing software for 30 years, Android development for almost 10 years.
 
I would like to develop a simple program for the Fit 2 solely for my own personal use. It would consist of two buttons, Start and Stop. It would read and save heart rate sensor data and location data to a file each minute.
 
I have downloaded Studio 2.5 and tried some of the examples. Nothing seems to work. I get compiler errors or file not found errors. It would not install on my Windows 7 machine – just exited, no reason was displayed. I have never gotten anything to show in the emulator – it's all for a round watch display anyway.
 
I have successfully done simple watch faces using Samsung's Galaxy Watch Designer.
 
I imagine I want to do native development. Is this possible and necessary for my application on the Gear Fit 2?
 
Is there a step by step tutorial specifically for the Fit 2? Is there an easier way to develop this type of application for the Fit 2?
 
Thanks,
Barry.

响应

1 回复
Yasin Ali

The following article describes accessing Heart Rate Monitor data very nicely. Check the following link

https://developer.tizen.org/ko/community/tip-tech/accessing-heart-rate-monitor-hrm-sensor-data-native-applications?langswitch=ko

Also there is an Web application sample app with SDK. Go to

New Tizen Project --> Sample --> Wearable --> Web Application --> Sensor --> Heart Rate Monitor

About connecting device check below links:
1. https://developer.tizen.org/development/tizen-studio/web-tools/running-and-testing-your-app/sdb
2. https://developer.samsung.com/galaxy-watch/develop/creating-your-first-app/native-companion/run-app

Hope it will help you.