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. Amazon MP3 app

Hi!

I wonder why the Amazon MP3 app insists on downloading via Wifi?

Andreas

--~--~---------~--~----~------------~-------~--~----~

2. streaming error

HI to all

                 Can anyone tell me what error in the code,,, I run
this code... But it giving error

package mypack.mydemos;

import android.app.Activity;
import android.graphics.PixelFormat;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.widget.MediaController;
import android.widget.Toast;
import android.widget.VideoView;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class demo extends Activity {

    /**
     * TODO: Set the path variable to a streaming video URL or a local
media
     * file path.
     */
    private String path = "http://www.inventa.com.au/
mpeg4%2056kbps176X144PAL.mpg";
    private VideoView mVideoView;

    @Override
    public void onCreate(Bundle icicle) {
        super.onCreate(icicle);
        setContentView(R.layout.main);
        mVideoView = (VideoView) findViewById(R.id.surface_view);

        if (path == "") {
            // Tell the user to provide a media file URL/path.
            Toast.makeText(
                    demo.this,
                    "Please edit VideoViewDemo Activity, and set path"
                            + " variable to your media file URL/path",
                    Toast.LENGTH_LONG).show();

        } else {

               mVideoView.setVideoURI(Uri.parse(path));
                 mVideoView.setMediaController(new MediaController(this));
                 mVideoView.requestFocus();

        }
    }
}


--~--~---------~--~----~------------~-------~--~----~

3. Why Prefer Virtual Over Interface?

4. Video streaming error

5. Is there a paid technical support program for developers?

6. installing applications (from installers), where's the installer?

7. Using custom jar files in Android app?