locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 1200000, 200, ll);
My assumption is that it gets the location every 120000ms if it has changed more then 200 meters.
At least this is what I am experiencing anyway....which is what I want. But what happens if the phone ends up in a metal building where there is NO GPS reception..??
Does it just keep trying every 1200000ms for a GPS fix forever..?? Or does this eventually die off and not work again..??
If I put the phone on my dash and drive around...every 120000ms I send a SMS message with the latest coordinates. Everything works just fine. But if the phones ends up in a building for 3-4-5 hours and comes back out side 3-4-5 hours later....my hope is that it will pick back up where it left off and send me a new location (if it has changed more than 200 meters). But this does not appear to be the case. It just stops working and I never get a new location even if I do have a clear view of the sky. Just wondering if this stops searching for a GPS fix or something after so many attempts to obtain a GPS fix...?