Wednesday, February 15, 2012

Re: [android-developers] Re: Extended Application life time.

On Wed, Feb 15, 2012 at 9:11 AM, Anieeh <animesh.android@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/commonsguy
http://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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate