here is the deal. i have made a project that contains a TabActivity activity with 3 tabs and each with their own Activity class. i want to implement GPS so that all the tabs can use it. so what is the best way to go in this case? do implement GPS functionality in every activity for each tab and register and unregister listeners on OnPause and OnResume?
i have also made a class that extends Application. do i implement GPS here and make functions to get the location values?
Is there another more efficient way of doing this?