I have been working for days in attempting to obtain a location using Android devices. I cannot use requestSingleUpdate due to a high API level. I also do not want to use getLastKnownLocation by itself due to accuracy issues. Therefore I have opted for using requestLocationUpdates.
(For simplicity I will refer to this code, but I have used many approaches to using requestLocationUpdates using GPS: What is the simplest and most robust way to get the user's current location on Android?)
I can get a location using the cell towers, but its accuracy is not good enough. Whenever I try to obtain a location for GPS onLocationChanged is never called, even if I let the listener go for 5 minutes. The GPS icon does appear in my notification bar during the GPS reading part. I do have permissions set for getting a coarse+fine location, and my GPS is working fine in Google Maps and GPS Test. Even if I go to Google Maps to get an accurate lock then switch to my application, I never get a location update. I have asked people I know for a solution or a reason and have been left without a response. I also have done many searches around the net for a solution and have left empty-handed. Is there anything that I am missing or am I never going to get a more accurate location reading?