Monthly Archives: December 2011

Real difference between Interface and Abstract Class

I was googleing  regarding this  find interesting thing which, I want to make a note for me. Java interface should be implemented using keyword “implements”; A Java abstract class should be extended using keyword “extends”. An interface can extend another … Continue reading

Posted in Java | Leave a comment

Putting Log in Native Code

Hi All, This post is to put logs in the Native code  which will show in DDMS. Following is the detail for log function for native code. Lib Name:- liblog.so HeaderFile:-    “android/log.h” Function:-  int   __android_log_write(int prio, const char … Continue reading

Posted in Debugging Native Libary | Leave a comment

Android ndk-stack tool

‘ndk-stack’ is a good and simple  tool that allows you to analize stack traces as they appear in the output of ‘adb logcat’ and replace any address inside a stripped shared library with the corresponding <file name>:<line number>. In a … Continue reading

Posted in Debugging Native Libary | Leave a comment