This list is for discussion about the SDK; please move to android-porting.

2009/5/15 pibada <[email protected]>

>
> Ok.
>
> You can see the logger_entry structure in open_src/system/core/include/
> cutils/logger.h
>
> I just want to distinguish msg[0] from logger_entry structure.
> For example, I'm trying to change the first byte of the payload entry
> like 03 or 04.
>
> The reason that I read messages from memory to analyze the log.
> Sometimes the garbage data is mixed to original log. So, I want to cut
> the exact payload without any condition.
>
> A U understand?
>
> To sum up, just I always want to change the first byte of the payload
> msg.
>
> On 5월16일, 오전6시52분, "Yusuf T. Mobile" <[email protected]> wrote:
> > Sorry, I am not familiar with the logger_event structure you are
> > referring to. I did not find it in the Android documentation, not in
> > the platform source code. Could you point me to where I might find it?
> >
> > This may not be what you're looking for, but as described inhttp://
> developer.android.com/reference/android/util/Log.html, you
> > call a function like Log.v(string1, string 2), which the Android
> > platform uses for logging, which you can then see in Eclipse and other
> > places.
> >
> > What are you trying to accomplish?
> >
> > Yusuf Saib
> > Android
> > ·T· · ·Mobile· stick together
> > The views, opinions and statements in this email are those of the
> > author solely in their individual capacity, and do not necessarily
> > represent those of T-Mobile USA, Inc.
> >
> > On May 15, 1:50 am, pibada <[email protected]> wrote:
> >
> >
> >
> > > Hello,
> >
> > > In logger_event structure, it exists msg[] as payload's message.
> > > Just I'm curious that how to write the payload's message in Android.
> >
> > > The reason is that I want to change the specific part of the msg
> > > array,
> > > for example msg[0] do always 05 when the msg exists.
> >
> > > If you know anythig about this question, plz help me.
> >
> > > Thank you.- 원본 텍스트 숨기기 -
> >
> > - 원본 텍스트 보기 -
> >
>


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