Does Logcat show any reason for killing the Service? You can install
Logcat app from http://code.google.com/p/android-random/, which will
show logcat on the phone. You can also save the data to a text file,
but by default, it saves it to /data/{package-name}/file, which we
can't access. You can use this patch to save it to the SD Card:
http://pastebin.com/m130c099d

Hopefully that'll shine more light on why it gets killed.

On Dec 28, 6:55 pm, bparker <cbpar...@gmail.com> wrote:
> I have a service which is dynamically registered from within an
> activity. The service listens for incoming and outgoing phone calls,
> so it needs to stay running all the time. But after about 1 day,
> without even launching any other applications, the parent activity is
> killed and the service stops running. How can I prevent this?
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to