Strange GPS Problem

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Strange GPS Problem

Postby ashish » Wed Mar 25, 2009 6:35 am

hello everybody i am using below code to use gps but i am getting some message in emulator

W/LocationMasfClient( 53): uploadCollectionReport(): GLS failed with 5
W/LocationMasfClient( 53): uploadCollectionReport(): GLS failed with 5
W/LocationMasfClient( 53): uploadCollectionReport(): GLS failed with 5
W/LocationMasfClient( 53): uploadCollectionReport(): GLS failed with 5
D/LocationMasfClient( 53): getAddressFromProtoBuf(): Ignore feature 9,1600
D/LocationMasfClient( 53): getAddressFromProtoBuf(): Ignore feature 0,Santa Cl
ara
D/LocationMasfClient( 53): getAddressFromProtoBuf(): Ignore feature 0,San Jose



mycode-->


this.myLocationManager = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
LocationListener locationListener = new LocationListener() {

public void onLocationChanged(Location newloc) {
// something to do here when location changes
// TODO get other datq (accuracy, velocity, altitude, etc...)
// write data to database
// add markers
Log.i("TAG","<<<<<<<<<<<<<<on location changed called.......");

Restaurant.this.myLocation = newloc;

}
public void onProviderDisabled(String provider) {}
public void onProviderEnabled(String provider) {}
public void onStatusChanged(String provider, int status, Bundle extras) {}
};

this.myLocation = myLocationManager.getLastKnownLocation("gps");

myLocationManager.requestLocationUpdates("gps",
3, // 3 sec
0, // 0m
locationListener);




this.myLocation = myLocationManager.getLastKnownLocation("gps");


i have given all permission in mainifest......

does anybody know why?
ashish
Experienced Developer
Experienced Developer
 
Posts: 62
Joined: Fri Feb 20, 2009 8:09 am

Top

Return to Map Problems

Who is online

Users browsing this forum: No registered users and 1 guest