I\'m using a GPS disabled AlertDialog and once the user enables GPS, I move onto another Activity via an Intent. The problem is that the AlertDialog appears and then moves o
It looks like the problem is that while the GPS location isn't enabled, you are still getting a location in myLocation.getLocation.
After you call createGpsDisabledAlert(), you probably should return instead of continuing with the method.