E/dalvikvm( 6037): JNI ERROR (app bug): attempt to use stale weak global reference 0xb
Make sure you're not:
a) Calling back into java from javascript in a WebView, and then b) Dereferencing a null pointer in Java.
Notice that this problem has nothing to do with any of your JNI code.