Full Communication Between Client & Server

We now have full communication working between the client and the server.

Conor has added a button to the action bar in the app. When this button is clicked it prompts the user to log in with their S.L.S. registered email and password. Once the user is logged in there is a new option on the screen to push data to the cloud. The user just enters their unique match identifier that they are given when creating the match online.

Again we used http post here to send the data. We originally tried to send json formatted data but ran into a few issue doing this, because of the tight time constraints on the project we settled to send strings of data that could then be parsed to ints.

Once the data is received by the   server it is stored in the match data table. The unique match identifier is used to link the match data table with the matches table. The matches table is where information about such as the opponent, date and team is stored, where as the match data table just has the metrics and scores.

Below are images that will give you and idea of the table structures:

Screen Shot 2015-03-19 at 19.59.38 Screen Shot 2015-03-19 at 19.59.33