Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.full.throttle;
- import android.app.Activity;
- import android.os.Bundle;
- import android.view.View;
- import android.widget.Button;
- import android.widget.TextView;
- import com.full.throttle.suspension.R;
- public class button extends Activity {
- Button myButton;
- TextView myLabel;
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.imageupload);
- myButton = (Button)findViewById(R.id.button01);
- myLabel = (TextView)findViewById(R.id.TextView01);
- myButton.setOnClickListener(new View.OnClickListener() {
- public void onClick(View v) {
- Intent uploadIntent = new Intent(this, com.full.throttle.ImageUpload.class);
- startActivity(uploadIntent);
- return true;
- }
- });
- }
- }
Add Comment
Please, Sign In to add comment