Registration now displayed correctly, but doesn't send info to server

This commit is contained in:
bspeice 2013-12-02 18:05:52 -05:00
parent 63f60806e5
commit 16099dba25
2 changed files with 13 additions and 14 deletions

View File

@ -36,7 +36,6 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name="com.uncc.gameday.alerts.AlertService"/>
</application>
</manifest>

View File

@ -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;
}
}
}