语言

Menu
Sites
Language
sensor sample project does not work in tizen 2.3.2 target(SM-R770)

Hi,

I created '(Circle) Sensors' sample project.

When I install the project to my device(SM-R770), Sample app show white screen only.

But useful error code is not founded.

 

08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument
08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument
08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument
08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument
08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument
08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument
08-20 14:13:00.411 : ERROR / sensors ( 4409 : 4409 ) : [../src/data.c:78] sensor_get_default_sensor() error: Invalid argument

 

How can I work the sample app??

 

 

响应

2 回复
Armaan-Ul- Islam

I have also deployed the '(Circle) Sensors' sample app on my Gear S3 and Emulator, But result is same as your's and same as the developers on the posts:

 

Gear s3 Native Sample Sensors White Screen Problem

Gear s3 Native Sample “UI -> (circle)Sensors” is White Screen

 

Hope, It would be fixed soon. By the way, You can check this Tip & Tech document, It describes how to get sensor data in details. Though it's for mobile, but same Native Code would work for wearables.

How to use Light Sensor in Tizen

연호 조

Thank you.

 

I cannot fix the issue, but I`m implement new sensor code. It work very well. :)