语言

Menu
Sites
Language
I can't get the feature key for location.

Hello.

I'm developing some app using system information key.

But, during this work, I found one error about 'Location' feature keys .

error code is -22, 'SYSTEM_INFO_ERROR_INVALID_PARAMETER'.

my code was as below.

int value = 0;

int ret = 0;

ret = system_info_get_platform_bool("http://tizen.org/feature/location.gps.satellite", &value);

 

For other keys of location, I can get the value.

Only, for "location.gps.satellite", this error is occurred.

And,,,,and about platform key, I got the same error( -22 : SYSTEM_INFO_ERROR_INVALID_PARAMETER').

(platform.web.api.version, platform.version, platform.web.api.version)

 

 

Please check my code and let me know how to get this value.

Thanks.

编辑者为: Kim 01 11月, 2015

响应

1 回复
daniel kim

Hi,

I could get the value in Gear S2 and Z1 emulator. But Z1 device seems that it doesn't have this key in config file as I could see same error message.

Regards