Category Archives: android

Topic regarding android native and framework

JDK setup for building android source code

Many time I face problem while setting build environment for building android. Specially when i format my machine . After  googling a lot  I find that now Sun-java-6 has be removed from the ubuntu repository so it is a big problem for … Continue reading

Posted in android, Java | Leave a comment

using gdb with android emulator.

One of the biggest challenge ,I face while working on Browser in Android Platform is ‘GDB’. Many time I have to check the stack strace of the call to native function. Here is one method which make your debugging native … Continue reading

Posted in android, Debugging Native Libary | Leave a comment

GL Architecture for webkit on android

 GL Architecture To draw things, WebView use a tree of layers. The root of that tree is a BaseLayerAndroid, which may have numerous LayerAndroid over it. The content of those layers are SkPicture, the content of the BaseLayer is an … Continue reading

Posted in android | 3 Comments

Another ways to put logs in native

The is one more simple way to put logs in native library of android. You have to following the methon as explained below. 1) First of all check weather you your lib is linking with libutils and libcutils if not just … Continue reading

Posted in Debugging Native Libary | Tagged , , | 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