Does Application Error Reports support crashes in native code?

by Shri » Fri, 20 May 2011 02:15:51 GMT


Sponsored Links
 Does the Application Error Reports infrastructure described at
 http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html 
work for crashes in native code?

It sounds like the mechanism works by using
Thread.setDefaultUnhandledExceptionHandler which only works for Java
code, and so it will not work for native code. Are there any solutions
for native code? I am working on registering a signal handler which
starts a separate process (since crashes in native code can leave the
process in a bad state) to get the logcat logs and then send those.
Just wondering if there is any better solution.

-- 



Other Threads

1. Downgrade from api level 8 to 7 gives weird logcat.... HELP

Hey guys
I know i have posted the same problem earlier but this time it is
giving some other errors.
I simply want to downgrade my api level 8 to 7 so that i can run the
application both on 2.2 and 2.1 devices.
The application is running perfectly fine on 2.2 and is having problem
working on 2.1

I have done changes in manifest.xml and project -> properties

My application basically uses sax parser , facebook sdk , twitter
connect

The following is the logcat which i get :-

03-05 12:14:47.014: INFO/ActivityManager(58): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10000000
cmp=com.hungama.myplay.activity/.Splash }
03-05 12:14:47.174: DEBUG/AndroidRuntime(245): Shutting down VM
03-05 12:14:47.174: DEBUG/dalvikvm(245): DestroyJavaVM waiting for non-
daemon threads to exit
03-05 12:14:47.194: DEBUG/dalvikvm(245): DestroyJavaVM shutting VM
down
03-05 12:14:47.194: DEBUG/dalvikvm(245): HeapWorker thread shutting
down
03-05 12:14:47.204: DEBUG/dalvikvm(245): HeapWorker thread has shut
down
03-05 12:14:47.204: DEBUG/jdwp(245): JDWP shutting down net...
03-05 12:14:47.204: INFO/dalvikvm(245): De{*filter*} has detached; object
registry had 1 entries
03-05 12:14:47.214: DEBUG/dalvikvm(245): VM cleaning up
03-05 12:14:47.275: ERROR/AndroidRuntime(245): ERROR: thread attach
failed    // ERROR
03-05 12:14:47.475: DEBUG/dalvikvm(245): LinearAlloc 0x0 used 639500
of 5242880 (12%)
03-05 12:14:48.615: INFO/ActivityManager(58): Displayed activity
com.hungama.myplay.activity/.Splash: 1461 ms (total 1461 ms)
03-05 12:14:53.914: DEBUG/dalvikvm(106): GC freed 170 objects / 7112
bytes in 261ms
03-05 12:14:56.144: WARN/InputManagerService(58): Window already
focused, ignoring focus gain of:
com.android.internal.view.IInputMethodClient$Stub$Proxy@43c5eee0
03-05 12:15:05.355: DEBUG/dalvikvm(224): GC freed 1620 objects /
115968 bytes in 245ms
03-05 12:15:05.395: ERROR/webcoreglue(224): The real object has been
deleted
03-05 12:15:05.415: DEBUG/webviewglue(224): nativeDestroy view:
0x2eb310

Thanks

-- 

2. Crazy home lite @ market

Aplikasi Car Cradle untuk apa ya Mas?




-- 
===============

3. App2card di miley

4. {WTS} ; LogayPektay High-End Gadget Accessories [Android, Apple, WP7, etc]

5. Launcher 7

6. How add my own new codec to Android

7. NDK with ccache