Hi,
I want the application to work in background with the tablet paused. When I get close to a marker it must alert me. I have initialized the GPS in Starter but the application seems not work in background. The GPS remains active (I think), but the sound signal is only received after the tablet comes out of the pause. Can I do what I want?
Thank you!
Google Map is a ui element. It will only be active when the activity is visible.
You can use the GPS object from a service. Call Service.StartForeground to prevent the process from being killed (better use a different service) and also acquire a partial lock with PhoneWakeState.