Issue created a button in layout (Android)?
<p>I am trying to use two buttons in one layout:</p>

<ul>
<li>a button to notes, which is working below</li>
<li>a button to calculator (button10)</li>
</ul>

<p>I get this error on super.oncreate:</p>

<pre><code>"The method onCreate(Bundle) is undefined for the type Object" 
</code></pre>

<p><strong>main.java:</strong></p>

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

    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        Button wg = (Button) findViewById(R.id.button1);
        wg.setOnClickListener(new View.OnClickListener() {
            public void onClick(View view) {
                Intent myIntent = new Intent(IzzynActivity.this, notes.class);
                IzzynActivity.this.startActivity(myIntent);
            }

            public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                setContentView(R.layout.main);

                Button wg = (Button) findViewById(R.id.button10);
                wg.setOnClickListener(new View.OnClickListener() {
                    public void onClick(View view) {
                        Intent intent = new Intent(IzzynActivity.this, calculator.class);
                        setResult(RESULT_OK, intent);
                        finish();
                    }
        });

            }


}
    }
}
</code></pre>
