Gopal Sing Blog's
Thursday, 17 May 2012
Android-How to navigate from one screen to another screen
Button btn= (Button)findViewById(R.id.button1);
btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent inte=new Intent(TestActivity.this,second.class);
startActivity(inte);
}
});
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment