So i have public class GPSTracker extends Activity { .. }
and after that public final class GPSTracker implements LocationListener
. the second one i found in a tutorial, the whole location tracking process happens here, but as far as i understand, i need to include onCreateOptionsMenu
and onCreate
methods in order to make it work. The question is; How do i put these two together?
here is the full code, so that you can analyze better.
Any help would be much appreciated. Thanks in advance.