android - GPS coordinates using network -


i working gps in android application.my questions are, 1.is gprs needed gps coordinates,if want coordinates without gps? 2.what settings need enabled to work gps coordinates using network?

you want geographical coordinates pair: latitude, longitude. (not gps coordinates)

such coordinates , other attributes can delivered either gps, wlan or cell-tower locating.

for wlan , cell-tower (network) locating need internet connection.

for gps locationg provider, ususally don't need network (gsm) there android phones strange designed, such gps not work without having internet connection while starting gps.

if want network locating, can explicitly set location provider. set network_provider:

if (locationmanager.isproviderenabled(locationmanager.network_provider)) {     locationmanager.requestlocationupdates(locationmanager.network_provider, 0, 0, locationlistener); } 

Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -