GPS Service Not Available

GPS Service Not Available

BY 12 Mar 2015 Native Application Development

Hi All,

I am using Tizen 2.3.0_Rev2 SDK.

I am developing an Application for Samsung Z1 mobile where I need gps location.

when I try to get the position from API (location_manager_get_location) it says LOCATIONS_ERROR_SERVICE_NOT_AVAILABLE

     ret = location_manager_get_location(manager, &altitude, &latitude, &longitude,
                                             &climb, &direction, &speed, &level, &horizontal, &vertical, &timestamp);
    if(LOCATIONS_ERROR_NONE != ret){
        ERR(“location_manager_get_location() Failed!!. Error Code = %d”, ret);
        __print_gps_error(ret);
        return false;
    }

My GPS already enabled. Also creating location manager and starting location service is not returing any error.

Please help if anybody faced this issue earlier.

Thank you.

Written by