Thanks Mark I will do changes as you said, you have raised a good point an given suggestion for service force stop.
Thanks Anieeh On Feb 15, 7:32 pm, Mark Murphy <mmur...@commonsware.com> wrote: > On Wed, Feb 15, 2012 at 9:11 AM, Anieeh <animesh.andr...@gmail.com> wrote: > > for your quick reply "Terminate the process" you mean user "force > > stop" the application or by memory crunch when android kills the > > service and application both. > > All of the above. > > > Actually my service is running continuously for syncing location to > > server at particular interval, Is there any better way to do this > > without using or running continuously in background. > > Absolutely. Use AlarmManager and an IntentService, please. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > _Android Programming Tutorials_ Version 4.1 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en