Android Location API - Tutorial - Eclipse, Android and Java training and support
You need to activate GPS on your test device. If you test on the emulator and its not activated you "null" if you try to use a LocationManager. The Google Map activity should automatically ......