From 16099dba25bae1cec81f94bdda226228b1ab991d Mon Sep 17 00:00:00 2001 From: bspeice Date: Mon, 2 Dec 2013 18:05:52 -0500 Subject: [PATCH] Registration now displayed correctly, but doesn't send info to server --- bin/AndroidManifest.xml | 1 - .../uncc/gameday/activities/Registration.java | 26 +++++++++---------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/bin/AndroidManifest.xml b/bin/AndroidManifest.xml index ec0e8ad..d2f6b13 100644 --- a/bin/AndroidManifest.xml +++ b/bin/AndroidManifest.xml @@ -36,7 +36,6 @@ - diff --git a/src/com/uncc/gameday/activities/Registration.java b/src/com/uncc/gameday/activities/Registration.java index a995731..984e6ca 100644 --- a/src/com/uncc/gameday/activities/Registration.java +++ b/src/com/uncc/gameday/activities/Registration.java @@ -28,7 +28,7 @@ public class Registration extends MenuActivity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_registration); - //t=(TextView)findViewById(R.id.buttonRegister); + t=(TextView)findViewById(R.id.buttonRegister); } @@ -70,18 +70,18 @@ public class Registration extends MenuActivity { public void onClick(DialogInterface dialog, int which) { switch(which){ - case DialogInterface.BUTTON_POSITIVE: // yes - t.setText("Your registration has been accepted. Welcome!"); - break; - case DialogInterface.BUTTON_NEGATIVE: // no - t.setText("You may come back and register at amy time."); - break; - case DialogInterface.BUTTON_NEUTRAL: // neutral - t.setText("Please correct any errors and select REGISTER."); - break; - default: - // nothing - break; + case DialogInterface.BUTTON_POSITIVE: // yes + t.setText("Your registration has been accepted. Welcome!"); + break; + case DialogInterface.BUTTON_NEGATIVE: // no + t.setText("You may come back and register at amy time."); + break; + case DialogInterface.BUTTON_NEUTRAL: // neutral + t.setText("Please correct any errors and select REGISTER."); + break; + default: + // nothing + break; } } }