AnsweredAssumed Answered

map.pause() stopping LocationService with 10.2 SDK

Question asked by townofsnowflake on Dec 20, 2013
Latest reply on Dec 21, 2013 by townofsnowflake
I have an app in which I want the LocationService to remain running even if onPause() is called.  I have a service running in the foreground with a handler & broadcast receiver that is bound to an activity.  The service/activity work together to updates a trackline at an X time interval, both on the map & in a SQLLITE database on the device.

When I call map.pause() in the onPause() method, the locationservice stops listening for location change until I unpause the map again in onResume().

I initialize the LocationService using map.getlocationservice(), so it makes sense that it would stop the LocationService, but I don't want this to happen.

Is there a work around for this?  Or perhaps something I'm not understanding correctly?