I use this solution to get latitude and longitude. It works on my main activity, but not in an other activity of my project. Do you know why ? It's a fullscreen activity which use the device camera...
gpsTracker.latitude; //Always 0
Please ask me for more detail, but maybe one of you know the problem.