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 
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. Using own maps in mapview

Hi all,

I am building an app for some experiment which involves use of
specific maps, I have these maps as .png and .svg images. I am however
having trouble with using MapView to load these maps and view them.
Could I get any help on this.



2. alarm being triggered, but app not launched...

I am setting an alarm like thus:

    AlarmManager mgr = (AlarmManager)
    mgr.setRepeating( AlarmManager.RTC_WAKEUP, msecs, INTERVAL_MSECS,
pendingIntent );

to go off at 3am in the morning.

the alarm gets caught by a broadcast receiver.  in the onReceive
method of the broadcast receiver, I am acquiring a wakelock and
starting a service.

    public void onReceive(Context context, Intent intent) {
        PowerManager mgr = (PowerManager)
        lock = mgr.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
        context.startService(new Intent(context, MyService.class));

in my service I am trying to start my app --
    public void onStart(Intent intent, final int startId) {
        super.onStart(intent, startId);
        Intent intentStartMyActivity = new Intent(Intent.ACTION_MAIN);
        intentStartMyActivity.putExtra("com.test.main", true);
        startActivity( intentStartMyActivity );

I have some additional logging my start activity and discovered that
sometimes this works and sometimes it doesn't.  It will work like 4
nights in a row and then on the 5th night, it won't work, and then it
will work three more times after that.  Any ideas on why it might
'sometimes' not work?



3. Digicert certificate & SSLException (Not trusted server certificate

4. Emulator fails every time at first startup.

5. OOT iseng malem2...."a must" application in your android device

6. Activity Spinner Context Menu Focus Events

7. How to get video frames using camera "startPreview" callback method in native