Any way to do this without keeping the phone tied to a PC?

On Dec 29 2008, 6:17 pm, Tomei Ningen <[email protected]> wrote:
> 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 <[email protected]>
> To: Android Developers <[email protected]>
> 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 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 data for this long?
>
> On Dec 28, 7:16 pm, Al <[email protected]> wrote:
>
> > Does Logcat show any reason for killing the Service? You can install
> > Logcat app fromhttp://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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to