This project is an example on how to use an AlertDialog in a DialogFragment using android.support.v4.app.DialogFragment (for backward compatibility on pre-Honeycomb devices), which shows your current location (latitude, longitude).