All eclipse is doing is running "adb logcat" to capture the output.  If you
want to read them on the device, I believe there is a permission to be able
to do so, and you could look at what logcat does to do the same thing,
though this is outside the bounds of the SDK so it may break in the future.

On Sat, Sep 5, 2009 at 7:55 PM, schwiz <[email protected]> wrote:

>
> so would there be a way to pull the info out on android and put it
> into strings to read it outside of the terminal?  I want to make it
> more like it is in eclipse
>
> On Sep 5, 2:44 pm, Dianne Hackborn <[email protected]> wrote:
> > logcat doesn't need to run as root.
> >
> >
> >
> >
> >
> > On Sat, Sep 5, 2009 at 5:05 AM, NPerry <[email protected]> wrote:
> >
> > > su -c logcat > /path/to/where/you/want.txt
> >
> > > On Sep 5, 7:38 am, Chris Stratton <[email protected]> wrote:
> > > > Get an adb shell and type logcat (or maybe /system/bin/logcat)  the
> > > > only hard part seems to be getting it to stop
> >
> > > > On Sep 5, 12:13 am, schwiz <[email protected]> wrote:
> >
> > > > > I don't mind if it requires root.. do you know where I can research
> > > > > how to do it?
> >
> > > > > On Sep 4, 10:26 pm, Chris Stratton <[email protected]> wrote:
> >
> > > > > > On Sep 4, 10:58 pm, schwiz <[email protected]> wrote:
> >
> > > > > > > It would be immensely helpful to me if I could make a logcat
> app to
> > > > > > > run directly on my G1 for when problems occur on the road that
> I
> > > can't
> > > > > > > seem to reproduce at home (one problem in particular >:(  )
> > > > > > > Any experts out there know if this is possible?  If it is what
> do I
> > > > > > > need to know?  Thanks for your responses!
> >
> > > > > > apparently logcat can only be run from adb shell or from a root
> > > > > > shell... so you will need to root the phone in order to be able
> to
> > > > > > logcat "locally" from an app or app-exec'd shell- Hide quoted
> text -
> >
> > > > - Show quoted text -
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > 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.
> >
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

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