Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GpsStatus gps = mlocManager.getGpsStatus(null);
- Iterable<GpsSatellite> sats = gps.getSatellites();
- Iterator satI = sats.iterator();
- int count = 0;
- while (satI.hasNext()) {
- GpsSatellite gpssatellite = (GpsSatellite) satI.next();
- if (gpssatellite.usedInFix()) {
- count++;
- }
- }
- @Override
- public void onLocationChanged(Location loc)
Add Comment
Please, Sign In to add comment