How does Google rate my location without GPS?

I was wondering how Google did it.

Find me with good accuracy when my GPS is turned off.

At first, I thought that Google was receiving information from the cell tower, and then I found out that Google was not taking my cell tower and GPS to show my exact location.

Does anyone know how this works?

+4
source share
2 answers

Google , Apple Skyhook, , WLAN BSSID . BSSID MAC- , . , "", BSSID, . BSSID IP-, .

, Google Maps Navigation GPS WiFi, GPS, WLAN ( GPS) Google . . Android- . .

- 100 - GPS.

- IP- . Android, .

+5

, , , LocationManager.NETWORK_PROVIDER LocationManager.GPS_PROVIDER. NETWORK_PROVIDER GSM Wi-Fi, - . , Wi-Fi GSM. , 500 .

http://developer.android.com/guide/topics/location/obtaining-user-location.html .

OnCreate() :

// Acquire a reference to the system Location Manager
LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);

// Define a listener that responds to location updates
LocationListener locationListener = new LocationListener() {
    public void onLocationChanged(Location location) {
      // Called when a new location is found by the network location provider.
      makeUseOfNewLocation(location);
    }

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

    public void onProviderEnabled(String provider) {}

    public void onProviderDisabled(String provider) {}
  };

// Register the listener with the Location Manager to receive location updates
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);

LocationListener onLocationChanged() .

, .

- , .

, .

+2

All Articles