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" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<service android:name="com.uncc.gameday.alerts.AlertService"/>
</application> </application>
</manifest> </manifest>

View File

@ -28,7 +28,7 @@ public class Registration extends MenuActivity {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_registration); 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) { public void onClick(DialogInterface dialog, int which) {
switch(which){ switch(which){
case DialogInterface.BUTTON_POSITIVE: // yes case DialogInterface.BUTTON_POSITIVE: // yes
t.setText("Your registration has been accepted. Welcome!"); t.setText("Your registration has been accepted. Welcome!");
break; break;
case DialogInterface.BUTTON_NEGATIVE: // no case DialogInterface.BUTTON_NEGATIVE: // no
t.setText("You may come back and register at amy time."); t.setText("You may come back and register at amy time.");
break; break;
case DialogInterface.BUTTON_NEUTRAL: // neutral case DialogInterface.BUTTON_NEUTRAL: // neutral
t.setText("Please correct any errors and select REGISTER."); t.setText("Please correct any errors and select REGISTER.");
break; break;
default: default:
// nothing // nothing
break; break;
} }
} }
} }