in the onCreate event for my Service I setup locationlistener...

    locMgr = (LocationManager)getSystemService(Context.LOCATION_SERVICE);
    locLstnr = new MyLocationListener();
    debugLog("Instantiated new Location listener", false);
    locMgr.requestLocationUpdates(LocationManager.GPS_PROVIDER, 10000, 10, 
locLstnr); 
 
 The 10000 is supposed to mean that I want the event to go off approx every 
10 seconds. My class statement is . . .

    public class MyLocationListener implements LocationListener
{
    GeoPoint LastGeoPoint;
    . .. . .

But the onLocationChanged event is going off approx twice per second. Why? 
Thanks, Gary

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to