Search code examples
javaandroidlogcatandroid-logcatddms

How can I get logcat data with ddmlib?


I'm coding an utility to make a showcase movies on the PC of the apps running on the Android devices. I was able to do it using xuggler (http://www.xuggle.com/xuggler) and ddmlib. It is really easy to obtain image as RawImage from the Android's adb using ddmlib, but now i need to get Logcat data from the moments when I shot the movie. I can't find any examples to obtaint he Logcat data; the logcat package has some classes to handle Logcat messages, but none to instantiate it. Anybody, help! I'll be glad to see any example how to obtaing logcat messages using ddmlib.


Solution

  • Thank llya Yevlampiev,This help me developing android logcat api on ddmlib.

    Custom Logfilter