2011-05-22 18:28:21 +02:00
|
|
|
package com.architects.findme;
|
|
|
|
|
|
|
|
|
|
import com.architects.findme.R;
|
2011-06-17 23:20:13 +02:00
|
|
|
import com.architects.findme.Login;
|
2011-05-22 18:28:21 +02:00
|
|
|
import android.app.Activity;
|
|
|
|
|
import android.content.Intent;
|
|
|
|
|
import android.os.Bundle;
|
|
|
|
|
import android.view.View;
|
2011-05-24 22:17:44 +02:00
|
|
|
import android.view.Window;
|
2011-05-22 18:28:21 +02:00
|
|
|
|
|
|
|
|
public class FindMe extends Activity
|
|
|
|
|
{
|
2011-06-17 23:20:13 +02:00
|
|
|
public static final String PREFS_NAME = "LoginCredentials";
|
2011-05-22 18:28:21 +02:00
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public void onCreate(Bundle savedInstanceState)
|
|
|
|
|
{
|
|
|
|
|
super.onCreate(savedInstanceState);
|
2011-05-24 22:17:44 +02:00
|
|
|
requestWindowFeature(Window.FEATURE_NO_TITLE);
|
|
|
|
|
|
2011-07-10 06:42:10 +02:00
|
|
|
this.setContentView(R.layout.main);
|
2011-05-22 18:28:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// VIEWS
|
|
|
|
|
public void drawRegistrationHandler(View button)
|
|
|
|
|
{
|
|
|
|
|
Intent myIntent = new Intent(button.getContext(), Registration.class);
|
|
|
|
|
startActivity(myIntent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void drawLoginHandler(View button)
|
|
|
|
|
{
|
|
|
|
|
Intent myIntent = new Intent(button.getContext(), Login.class);
|
|
|
|
|
startActivity(myIntent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|