実は、どちらも有効な応答です。つまり、Android には 3 種類の位置情報プロバイダーが用意されています。
GPS_PROVIDER: This provider determines location using satellites. Depending on
conditions, this provider may take a while to return a location fix.
NETWORK_PROVIDER: This provider determines location based on availability of cell
tower and WiFi access points. Results are retrieved by means of
a network lookup.
PASSIVE_PROVIDER: This provider can be used to passively receive location updates
when other applications or services request them without
actually requesting the locations yourself. This provider will
return locations generated by other providers.
Network Location Provider を選択すると、Google の位置情報サービスにアクセスして情報を提供することになります。このメカニズムでは、可能な限り最高の位置情報を提供するために、携帯電話の信号強度だけでなく WiFi 情報も使用して位置を三角測量します。Android Location の使用を開始するには、この投稿をお勧めします: Android Location の使用を開始する
実際、これは Assisted GPS (AGPS) の背後にある「魔法」でもあります。GPS デバイスで情報を取得する際の最も遅い部分は、衛星を探すことです。これは、利用可能なすべての衛星 (30) を探す必要があるためです。初期位置。AGPS を使用すると、ネットワークベースの位置情報により大まかな位置推定が可能になり、衛星リストを大幅に制限して (推定位置で利用可能な衛星のみに)、プロセスを大幅に高速化できます。
これに関するいくつかの興味深い記事: Android Location Providers、Mobile Phone Tracking、Android Location Manager classおよびAndroid Location Strategies