语言

Menu
Sites
Language
Getting Location Information on Tizen Native

Hello?

 

I'm developing an app which acquires location information (latitude and longitude) by using Tizen native.

However, a callback function registed by location_manager_set_position_updated_cb is not invoked with following error.

 

====================================================================================

05-25 21:40:11.863 : ERROR / CAPI_LOCATION_MANAGER ( 881 : 881 ) : location_product.c: _location_manager_gps_state_cb(102) > _location_manager_gps_state_cb

====================================================================================

 

 

I think that location information can be acquired by using WiFi, not GPS...

There is no error or exception when registering the callback function and starting location service.

I'm using Samsung Z1 phone and Tizen 2.3 sdk.

 

Please help if anybody faced this issue earlier.

Thank you.

响应

3 回复
Alex Dem

Hi,
Just fyi , maybe could be useful, link onto tutorial and topic:
https://developer.tizen.org/documentation/tutorials/native-application/location
https://developer.tizen.org/forums/native-application-development/gps-service-not-available
Alexey.

Mats Wichmann

Did you set the location method to either WPS or hybrid?

 

Chun Woo Park

As you mentioned, I set the location method for hybrid and it was success.

Do you know why method for GPS is not available??