Guest User

Untitled

a guest
Jul 22nd, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. GpsStatus gps = mlocManager.getGpsStatus(null);
  2. Iterable<GpsSatellite> sats = gps.getSatellites();
  3. Iterator satI = sats.iterator();
  4. int count = 0;
  5. while (satI.hasNext()) {
  6. GpsSatellite gpssatellite = (GpsSatellite) satI.next();
  7. if (gpssatellite.usedInFix()) {
  8. count++;
  9. }
  10. }
  11.  
  12. @Override
  13. public void onLocationChanged(Location loc)
Add Comment
Please, Sign In to add comment