package com.example.client;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class RegisterActivity extends Activity implements OnClickListener {
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.register);
        
        Button back = (Button)findViewById(R.id.register_reback_btn);
        back.setOnClickListener(this);
	}
	
	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		int id = v.getId();
		
		 if(id == R.id.register_reback_btn){ 
			 Intent intent = new Intent(RegisterActivity.this, MainActivity.class);			 
			 startActivity(intent);
		 }
	}
}
