mirror of
				https://github.com/bspeice/UNCCGameDay
				synced 2025-11-04 02:10:35 -05:00 
			
		
		
		
	Registration now displayed correctly, but doesn't send info to server
This commit is contained in:
		@ -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>
 | 
				
			||||||
 | 
				
			|||||||
@ -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;
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user