This might be something incredibly easy but i have no clue how to
accomplish this.

Right now i have code enough to make a simple main menu using standard
buttons and a button listener.  From what i can tell I have the code
that should open up a new activity but when i run it and click the
button nothing shows up.  Here is the code

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

    public void startEvents()
    {
        Button button3 = (Button) findViewById(R.id.button3);

        button3.setOnClickListener(new View.OnClickListener() {

            public void onClick(View arg0) {
                //Starting a new Intent
                Intent nextScreen = new
Intent(NACURH2013Activity.this, EventsActivity.class);
                startActivity(nextScreen);
            }
        });
    }

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to