I am using the Motorola Milestone (Droid).
I need to use GPS without network connection. But after I set a GPS location listener, I get the network error "Unresolved host address" (see below). On the device I do not have any network access at the time I try to start the GPS localisation. Is there no way to use GPS without network access?
Best regards,
claudette
LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, mLocationListener);
02-19 16:35:13.928: ERROR/SUPLJ(1166): IOException
02-19 16:35:13.928: ERROR/SUPLJ(1166): java.io.IOException: Unresolved host address!
02-19 16:35:13.928: ERROR/SUPLJ(1166): at com.motorola.android.locationproxy.SuplDataService.openPlainTextConnection(SuplDataService.java:255)
02-19 16:35:13.928: ERROR/SUPLJ(1166): at com.motorola.android.locationproxy.SuplDataService.handleMessage(SuplDataService.java:113)
02-19 16:35:13.928: ERROR/SUPLJ(1166): at android.os.Handler.dispatchMessage(Handler.java:99)
02-19 16:35:13.928: ERROR/SUPLJ(1166): at android.os.Looper.loop(Looper.java:123)
02-19 16:35:13.928: ERROR/SUPLJ(1166): at com.android.server.LocationProxyService.run(LocationProxyService.java:344)
02-19 16:35:13.928: ERROR/SUPLJ(1166): at java.lang.Thread.run(Thread.java:1096)

