-2

locationManager.requestLocationUpdates( LocationManager.GPS_PROVIDER, time, distance, locationListener); here
time is in milliseconds or second?
distance is in km or m?

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
Midhilaj
  • 4,905
  • 9
  • 45
  • 88

1 Answers1

3

The android API is very well documented, you can find your answer here.

enter image description here

This should answer your question, but I greatly recommand you to read the android developers documentation for any further question about it, you'll find everything you need.

Robert LaFondue
  • 191
  • 1
  • 9