On Mon, Apr 13, 2015 at 5:53 PM, NewToAndroid <[email protected]> wrote:
> But when I was driving thru some remote hilly area, where there is no > internet connectivity, the service stopped playing music. When I checked > later, the service has stopped. What is the concept behind this ? > > What can be the best/established way of handling this situation ? > You didn't provide much information here. The fact that the service died at this time could be pure coincidence. You should test this out in a controlled situation where you can verify that losing internet connectivity (like just switch to airplane mode) causes your service to be stopped. Once you verify and reproduce the behavior, debug it to determine why this is happening in your case. ------------------------------------------------------------------------------------------------- TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

