Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- music = (Button)findViewById(R.id.music);
- music.setOnClickListener(new Button.OnClickListener() {
- @Override
- public void onClick (View v){
- startActivity(new Intent(EncapsulatingActivity.this, SomeOtherActivity.class));
- }
- });
Add Comment
Please, Sign In to add comment