Your saying "the parent activity is killed and the service stops running"
sounds like you are trying to keep the service running by binding to it from
an activity. If so, that defeats the purpose of the service. If you want a
service to remain running on its own, you need to use startService().
as
> > you have disk space
>
> > DOS> adb logcat > file
>
> >
> > From:bparker
> > To: Android Developers
> > Sent: Sunday, December 28, 2008 5:21:20 PM
> > Subject: [android-developers] Re: Service will not stay
__
> From: bparker
> To: Android Developers
> Sent: Sunday, December 28, 2008 5:21:20 PM
> Subject: [android-developers] Re: Service will not stay running
>
> I tried the Logcat app and it seems that it (the app itself) only
> keeps about 2 hours worth of data, whereas the Logcat v
You can run logcat in a DOS window. That way it will keep as much log as you
have disk space
DOS> adb logcat > file
From: bparker
To: Android Developers
Sent: Sunday, December 28, 2008 5:21:20 PM
Subject: [android-developers] Re: Service will no
Yes I'm sure, everything is fine. I have a plain dev phone with
nothing else installed but my application, and I'm sure there is never
a low memory condition, I've checked top and everything I can think
of... also the docs say that your service is supposed to be restarted
by the system if a low me
Mark Murphy wrote:
> bparker wrote:
>> I just noticed that the Logcat app itself was just killed as well,
>> after not even running for 10 minutes... with the screen off and no
>> other activities running.
>
> U...how are you determining that there are no other activities running?
Actually,
bparker wrote:
> I just noticed that the Logcat app itself was just killed as well,
> after not even running for 10 minutes... with the screen off and no
> other activities running.
U...how are you determining that there are no other activities running?
--
Mark Murphy (a Commons Guy)
http:/
I just noticed that the Logcat app itself was just killed as well,
after not even running for 10 minutes... with the screen off and no
other activities running.
The only message I got was:
12-28 20:24:12.760: INFO/ActivityManager(51): Process
org.devtcg.tools.logcat (pid 5916) has died.
On Dec 2
I tried the Logcat app and it seems that it (the app itself) only
keeps about 2 hours worth of data, whereas the Logcat view in eclipse
shows me at least twice that much... but still not enough to catch the
service being stopped, which usually takes at least a day or more.
Any ideas on how to log
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 us
10 matches
Mail list logo