views:

3

answers:

0

I have an application that creates a LocationManager object and requests updates, but it causes repeated messages like this in the logcat:

D/lib_locapi(  102): loc_eng_report_status: GPS_STATUS_SESSION_BEGIN
D/lib_locapi(  102): loc_eng_report_sv: valid_mask = 0x30, num of sv = 4
D/lib_locapi(  102): loc_eng_report_nmea
D/lib_locapi(  102): loc_eng_report_sv: valid_mask = 0x3f, num of sv = 4
D/lib_locapi(  102): loc_eng_report_position: valid mask = 0x49ffef, sess status = 0
D/lib_locapi(  102): loc_eng_report_status: GPS_STATUS_SESSION_END
D/lib_locapi(  102): loc_eng_report_status: GPS_STATUS_SESSION_BEGIN
D/lib_locapi(  102): loc_eng_report_sv: valid_mask = 0x30, num of sv = 4
D/lib_locapi(  102): loc_eng_report_nmea
D/lib_locapi(  102): loc_eng_report_sv: valid_mask = 0x3f, num of sv = 4
D/lib_locapi(  102): loc_eng_report_position: valid mask = 0x49ffef, sess status = 0
D/lib_locapi(  102): loc_eng_report_status: GPS_STATUS_SESSION_END
D/lib_locapi(  102): loc_eng_report_status: GPS_STATUS_SESSION_BEGIN
D/lib_locapi(  102): loc_eng_report_sv: valid_mask = 0x30, num of sv = 4
D/lib_locapi(  102): loc_eng_report_nmea
D/lib_locapi(  102): loc_eng_report_sv: valid_mask = 0x3f, num of sv = 4
D/lib_locapi(  102): loc_eng_report_position: valid mask = 0x49ffef, sess status = 0
D/lib_locapi(  102): loc_eng_report_status: GPS_STATUS_SESSION_END

Here's the code that starts the request:

        mLocationManager = (LocationManager)
        mContext.getSystemService(Context.LOCATION_SERVICE);
        // check if GPS is available and then only request those updates (not done now)
    //    mTimeInterval =  60000L;
    //    mDistanceChanged = 10;
        mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, mTimeInterval, mDistanceChanged, this);

Any suggestions on what to check?