I am trying to catch “WRIST_UP” on GEAR S2, but it could not enter Success callback or Error callback.
I am not sure if I missed some codes, but I have got “pedometer” and “heart rate” data successfully using the same way.
In Tizen developer, it is suggested that add “<feature name=”http://tizen.org/feature/sensor.wrist_up”/>” into config.xml, and it has no effect for me.
Anyone knows how to deal with it? Thanks in advance.
How to recognize “WRIST_UP” gesture?
Hi All,
I am trying to catch “WRIST_UP” on GEAR S2, but it could not enter Success callback or Error callback.
I am not sure if I missed some codes, but I have got “pedometer” and “heart rate” data successfully using the same way.
In Tizen developer, it is suggested that add “<feature name=”http://tizen.org/feature/sensor.wrist_up”/>” into config.xml, and it has no effect for me.
Anyone knows how to deal with it? Thanks in advance.
/*Wrist up*/
function onchangedWristCB()
{
wristUPCnt++;
console.log(“You are looking at your smartwatch:”+ wristUPCnt);
}
function onErrorWristCB()
{
console.log(“Error occurs. name:”);
}
tizen.humanactivitymonitor.start(“WRIST_UP”, onchangedWristCB, onErrorWristCB );
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio