Best Way to implement GPS when working with TabHost

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Best Way to implement GPS when working with TabHost

Postby darko1002001 » Fri Aug 27, 2010 4:20 am

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?

Junior Developer
Junior Developer
Posts: 20
Joined: Sat Jun 26, 2010 12:52 am


Return to Map Problems

Who is online

Users browsing this forum: No registered users and 3 guests