I urgently require a android app for controlling a scoreboard.
This app is for scoring Australian Rules Football (not soccer).
It will:
-Keep time with a countdown clock that can be started and paused
-keep score for each team with Goals and Behinds
-calculate total score for each team from Goals and Behinds
-Keep the team names
-Send all the values from the app to the screen via broadcast UDP packets (one packet for each value).
*Points calculation*
There will be + and - buttons for goals and behinds for each team.
Goal = 6 points
Behind = 1 point
Total points is just total of goals and behind points.
*Countdown clock*
Australian Rules Football is played in 4 quarters. However these quarters can change length of time. So, we need fields to set time for quarters in minutes.
The quarter will be selected by the user from a selection box. Each time the selection box is used, the clock will be reset to the quarter length.
There will be a start button to start the clock, and a hold button to pause the clock.
When the clock expires, (counts to 00:00, the clock will hold at 00:00).
*UDP Broadcast Packet sending*
In total, there are 10 packets that will be sent when the value of that data field updates.
Otherwise all fields are sent when the app starts, and when the clock is started.
This means for example that the clock packet will be sent once per second (when it's counting down). The packets containing score information will be sent when score updates occur, and packets for team names will be sent when names are changed.
Packet format is as follows (excluding the ')
'[1]%clock field'
'[2]%team name 1'
'[3]%team name 2'
'[4]%team 1 goals'
'[5]%team 2 goals'
'[6]%team 1 behinds'
'[7]%team 2 behinds'
'[8]%team 1 total points'
'[9]%team 2 total points'
'[10]%quarter%'