hmvrulz on 04/25/11
Last Edited at 04/25/11 07:50pm
Button button_name =(Button)findViewById(R.id.ButtonId); button_name.setOnClickListener(new View.OnClickListener() { public void onClick(View arg0) { Intent intent_name = new Intent(Activity1.this,Activity2.class); startActivity(intent_name); } });
Report this snippet Tweet
Comment:
You need to login to post a comment.