Friday, April 29, 2011

Re: [android-developers] How to kill service for debugging purpose

That doesn't make sense -- the only time a service is restarted like that is when its process is killed.

On Fri, Apr 29, 2011 at 10:43 AM, Paolo <brandipa@gmail.com> wrote:
Hi there!
I'd like to know how can  I kill my service without to kill my whole
process too, as the system does when it need memory.
In particular I want to test if the the service re-start using the
flag START_STICKY returned by onStartCommand().

Can anyone help me?

Thanks in advance!

--
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



--
Dianne Hackborn
Android framework engineer
hackbod@android.com

Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails.  All such questions should be posted on public forums, where I and others can see and answer them.

--
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

No comments:

Post a Comment