According to this presentation, log.redirect-stdio for Dalvik output, to redirect C / C ++ output (e.g. printf ), you should install busybox on the device and use its xargs utility as follows:
myprogram | xargs log
This obviously works for code that is called as a standalone executable. If this is for debugging purposes only, you can write a small program to call your library and call it from your application using xargs .
gfour May 14 '12 at 10:16 2012-05-14 10:16
source share