What kind of debug output statement is valid in getaddrinfo.c?

by 鎹疯秴 鐜 » Fri, 20 May 2011 17:17:53 GMT

Sponsored Links
 Hi, developers:

I am currently developing an IPv6 DNS resolver on Android-x86 platform
in socket programming in C so I would like to modify some code in /
home/ubuntu/android-x86/bionic/libc/netbsd/net/getaddrinfo.c". I want
to do debugging in this file so I am trying to adding debug output
statements in this file.

I 've tried "LOGE", "printf" and "fprintf" but none of them works.
Is there anyone knows what kind of debug output statement is valid in
this file? Thank you very much!!

Best wishes,

Jiechao Wang


Other Threads

1. how do i draw the direction arrow on the map

hi all,

question as above.

right now, i am creating a class extending mylocationoverlay.

then, i override the draw method.

is this the correct method?

because after i rewrote the draw method, the map tile cannot render.

please advise. Thanks!



2. Android 2.2 - width=device-width No Longer Working

In previous versions of Android that supported:

<meta name="viewport" content="width=device-width" />

the device displayed the content correctly resized in Webkit - in
fact, all devices that recognize meta viewport work fine for me.

Android 2.2, of course, has broken this - all items show up full size
regardless of what is set in the meta tags.

Anyone have a workaround, or is this fubared for now?


3. ContentObserver not working

4. How to take care of form factor(screen size) and resoultion

5. frame buffer

6. adb over wifi

7. Not able to port Libltdl on Android