final Dialog dlg = new InfiniteProgress().showInifiniteBlocking();
dlg.show();
Location position = LocationManager.getLocationManager().getCurrentLocationSync();
final Dialog dlg = new InfiniteProgress().showInifiniteBlocking();
dlg.setTransitionInAnimator(CommonTransitions.createEmpty());
dlg.show();
Dialog.show("Success", "GPS supported", "Okay", null);
Location position = LocationManager.getLocationManager().getCurrentLocationSync();
getCurrentLocationSync()
seemed like the best option.