*mButton=(Button)findViewById(R.id.button1);*
*
mButton.setOnClickListener(new Button.OnClickListener() {
public void onClick(View v)
{
Intent myIntent = new Intent(currentClass.this,
NextclassActivity.class);
startActivityForResult(myIntent,0);
}
});
is is working.... just try it.
*
On Mon, Aug 15, 2011 at 12:56 PM, stansic <[email protected]> wrote:
> Hi I am working on an event management app, and I am new in developing
> android applications.
> I am trying to find a to switch to d next activity when a button is
> clicked. I have used the button listener method but I did not work,
>
> --
> 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
--
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