Android Question GPS on multiple Activities?

nicieri

Active Member
Licensed User
Longtime User
Hi I have in my Main Activity Public GPS1 As GPS under Process_Globals

This was initialized in Activity_Create

I have the event GPS_LocationChanged (I have a Log in this Sub) on Main Activity

When I start another Activity... StartActivity(OtherAct2) the 'Log' of Main is not working. (I'm not stopped the GPS)

How can I have a General Sub working for all my Activities?

Or I need to declare a GPS object and events in each activities?

Thanks
 
Top