Adding a Button to Activity Causes a Runtime Exception
<p>I am creating a tab based application, and which is in the prototype stage.  I have created the necessary tabs that display basic content (as described in the Android docs).  Now I am trying to add a few buttons to one of the activities, however, instantiating a new Button creates a runtime exception:</p>

<pre><code>public class HomeActivity extends Activity {

    private Button menuBTN = new Button( this );


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        TextView textview = new TextView( this );
        textview.setText( "This is the main application entry, and home screen" );
        this.setContentView( textview );

        this.getMenuBTN().setText("Menu");


//        this.addContentView( this.getMenuBTN(), new LayoutParams( LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT ));
    }
</code></pre>

<p>If I do not create the button at all, the basic application starts normally.</p>
