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. V4l2 USB Camera Integration with Android (Froyo & Eclair)


We have ported V4L2 support for USB camera to Android (Froyo & Eclair) on
Also, implemented HAL layer which acts as interface between V4L2 based
camera driver in kernel and the Android framework.

Source code can be found from following locations :





We appreciate your joining our open source initiative, reviewing our work
and sharing your knowledge & experiences with us.
Google groups : coredru...@googlegroups.com
Source code repositories :
Follow us on twitter :

CoreDruids Team

unsubscribe: android-porting+unsubscr...@googlegroups.com

2. App Widget with AlarmManager... full example source?

Hi all,

    I've created a simple app widget for personal use that queries a
site from the internet, parses the XML received and displays some info
from it.  I'm using a Droid X, if that makes a difference; both in the
emulator and as physical hardware, developing in the Android version
of the MotoDev IDE.

    No matter what I put in updatePeriodMillis, the shortest refresh
time I can get is 30 minutes (I thought this was a 1.6 only bug but
apparently not since I'm running 2.1) and I want it to refresh every 5
minutes, with some caveats.  I don't want the widget to refresh when
the screen is off and I want it to refresh immediately upon waking up
the screen.  My search for information says to set updatePeriodMillis
to 0 and use the AlarmManager instead, but I can't find any complete
code examples on just how to do this.

    Obviously, I'm new to Android development, and Java in general
actually, but I've been a developer for a very long time with
experience in just about every other language.  Currently working in
C#, so I thought I'd be able to jump in fairly easily.  Can anyone
point me to sample code or an open source project that does what I'm
looking for?  I have other questions, but until I get this piece
working they don't really matter.  :)



3. Fetch recurrent events

4. (WTA & WTS) root LG Optimus GT 540

5. How can I delete the black shadow above framelayout in the tabwidget

6. Exchange 2010

7. How to send email with pictures attachment