FileDocCategorySizeDatePackage
StacktraceViewer.javaAPI DocAndroid 1.5 API1618Wed May 06 22:41:08 BST 2009com.android.development

StacktraceViewer

public class StacktraceViewer extends android.app.Activity
Views a single stack trace.

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.log_viewer);

        TextView text = (TextView) findViewById(R.id.text);
        text.setTextSize(10);
        text.setHorizontallyScrolling(true);
        text.setTypeface(Typeface.MONOSPACE);
        text.setMovementMethod(ScrollingMovementMethod.getInstance());
        
        String stacktrace = getIntent().getExtras().getString(
                CrashData.class.getName());

        text.setText(stacktrace);