Problem recognizing the “stationary” activity on a Samsung Galaxy Watch
Problem recognizing the “stationary” activity on a Samsung Galaxy Watch
BY 31 Jan 2020Native Application Development
Hello, I hope you can help me with this issue, I can program my Samsung Galaxy Watch to recognize activities like walking and running, but it will not detect the “stationary” activity – the moment when those activities are supposed to have ended.
My code does not report any errors, and identical code will work when it comes to recognizing walking or running activites.
Code for recognizing the “stationary” activity:
activity_h ahandle3;
int result = activity_create(&ahandle3);
if (result != ACTIVITY_ERROR_NONE) {
dlog_print(DLOG_ERROR, "mywatch", "Activity Handler Error");
}
else
dlog_print(DLOG_ERROR, "mywatch", "Activity Handler Success");
int result2 = activity_start_recognition(ahandle3, ACTIVITY_STATIONARY, activity_cb_stat, NULL);
if (result2 != ACTIVITY_ERROR_NONE)
dlog_print(DLOG_ERROR, "mywatch", "Activity Error");
Problem recognizing the “stationary” activity on a Samsung Galaxy Watch
Hello, I hope you can help me with this issue, I can program my Samsung Galaxy Watch to recognize activities like walking and running, but it will not detect the “stationary” activity – the moment when those activities are supposed to have ended.
My code does not report any errors, and identical code will work when it comes to recognizing walking or running activites.
Code for recognizing the “stationary” activity:
Code for the callback:
I appreciate any help for solving this issue, or even a workaround to detect the moment a walking or running activity has ended.
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio