So, I did do a few changes (they are not compiled yet...more changes need to be made for these changes to take effect). I have many things to work on in the app still. In the new year I will release the next beta version for testing. Things have been very busy and there has not been much spare time to work on the app and I apologize for that. It is coming though!
I have not been very active in the development of this app and I had set stuff up on GitHub in order to have collaborators in on this. I have sacked that part of the project at this point and will be continuing on now on my own.
Sorry for the delays in this but life had decided to step up front and centre and when life calls, I listen. Now I'm going to get back into the swing of programming again. ... read more
I have now set up the source code at GitHub at the request of a developer. I'm not sure how to hook it into SF properly (nothing seems to be working in that regard) so here is the GitHub link :
https://github.com/kubbcanada/PlanetKubbScoringApp
Cheers.
Getting back in to the swing of programming has not been easy after being away from it for a month. I opened up the code and had no clue what I had been working directly on. I have since noticed what I was doing and will continue on that route at this point. Some major changes are coming based on the tickets that are entered for the next version which I hope to be released next Tuesday. Again, if there are any programmers that could assist in the project, I'm gladly accepting help. ... read more
It has been some time since things have progressed with the application. Life has definitely been in the way for me. I've been on vacation and then had eye surgery of which I'm still partly recovering.
I have also moved the development of the application to SourceForge which is a great place for it. If you are an avid Kubb player and Android developer, I'd love to have you on board to help out! If you have any suggestions for features, enhancements or bugs to report, please use the ticketing system. This is also where you can see what is coming up and what I (and in the future the team) is working on.
The last few days have seen some furious coding on my part. After hearing that the app was used to score a game at the US Nationals I wanted to get it going better. I am working towards editing a match that is in the database. I may have to re-work some parts of the code to get this part working but when that happens I'll be happy. Right now it just tells you what it would edit. I've had a few suggestions for how to go to a new game and keep the existing data but I think that will cause issues when it goes to PK as it has to be uniquely named. I suppose I could have a button to pre-fill the match information form from the last scored game. I'll think about that. Another suggestion was to fill out the game data afterwards (for quick access to start scoring). That is something I'll be working on today (editing an existing match). That may make it to 0.7 today. Database functionality is good now however there are still a few bugs.... read more
After a few days of coding here and there I have resolved a few of my larger issues. The database function is now, well, functional. When you enter a match it records it all in a database and pulls that information into a text field that can be copied. I'm going to have to do up an instruction manual for the application soon. I also have the ability to add, edit and delete users from the table (username, initials), delete complete games from the database but not yet edit them. The Team Entry screen will now have a drop down of the users in the database which makes things so much easier to work with. I will be posting the new application for download on Tuesday. For some reason I chose Tuesday as my application release date.
Lots of ideas came to me over the last weekend and I started trying to implement these changes but they are not going as smoothly as planned. Location was going to be automatically determined (city anyway) and input automatically but I am having issues getting the code to work properly there. I added the date automatically to "today". It can be changed manually also. The local database function is starting to take shape but it is unfortunately going to take a bit of time before that becomes a reality. Lots of testing on my end will need to happen first. I will be posting v0.6 later today while I continue to try and find a bit of time to work on the other features.
There was work done in between but nothing of serious note. I am now working on the local database portion of the application where it will store all the current games in a database. The thought being that eventually what will be available is to select the games that you wish to upload to PK. For now it will keep all data locally on the device. This may be implemented fully for the next release (early next week). I had hoped to have a release out this week but I was busy with work and family stuff. This will also be the start of a "player database" for selection purposes. This is just an idea right now where you could add players to this database (or suck them in from PlanetKubb) and then just use a dropdown to select the player (like in the throw screen). I have a busy weekend ahead so hopefully Tuesday will see an interim release with the ability to copy/paste the final game results.... read more
Major advancements today. The edit buttons now work and I have added the advantage line functionality. I'm still experiencing an issue where the error message will not display on the first throw but I am working on figuring that out right now. One of the next major things will be the connection to Planet Kubb functionality. After that is complete, making the XML prettier will be the next step.
Scrapped the Tabbed scoring screen altogether and have switched back to a turn-by-turn however it is more streamlined app-wise (re-using the xml screen). Spinners have been implemented for number of kubbs knocked down and the application figures out what has been knocked over. Next part to work on is setting up after a turn is over to review the turn and edit a throw if need be. This will take more coding and will be in another release for sure but likely not the one being released today.... read more
Tested the "tabbed" scoring screen but with 8 tabs along the top (inkast, 6 throws and a submit screen) it is unwieldy on anything other than a tablet so I have tossed that idea for now. I did start on a new re-design of the throw screen entry changing it to simply the player (modified to only have options for those players that exist), a spinner control to enter the number of kubbs hit on that throw (the logic is there to determine if there are field kubbs and whatnot) as well as whether the King was hit. A few logistical issues on that test screen so far but I should have those fixed up before the next release on June 25th.
Yesterday after releasing Pre-Beta 0.4 for testing I received a bug report from "jellev". At first I didn't see the problem until it was put into a true game scenario and I realized that yep, I blew it. It involved the number of kubbs inkast / rethrow / penalty. I had neglected to consider that Inkast kubbs were already thrown once and that re-throwing them again could result in a penalty kubb. Code has been modified for the next release to take care of this issue.... read more
A functionality update was implemented where pressing the "back" button during a turn entry will go back one turn. However, pressing it a second time will cause the calculations to fail. This will need to be addressed in some way. It also messes up the actual "scoring" part. Until I figure this out, the back button will simply cancel the game and return to the main screen.
There was a problem with the checkboxes on the turn entry screens. If no checkbox was selected, it would cause a problem. I have since made some logic changes that if nothing is selected, it will default to a miss. However, if there is a value that is not zero in the base or field kubb spots, it will check off their appropriate boxes.
So, I was back at it today for a little bit. Not long as I had many things on the go. I added in the functionality of the "back" button on the Android devices to question whether it's going to quit scoring or not. It doesn't do anything but kill the screen and revert back to the "start scoring" screen at this point. I will be adding functionality that will check what throw it will be reverting to and things like that. Now it kills the screen when it moves on so it doesn't become a memory hog. I hope to be working on a menu soon so you can easily quit out or the like. I'm not sure what to have in the menu yet....connectivity to the PK database is still not set up and I'm working on it. That will also be one of the last items on the list to take care of. There are still a few troubleshooting areas to work on, but it is coming together nicely so far. Things should be on track for 0.4 release tomorrow afternoon.... read more
June 12, 2013
So today I added some of the error checking code and now when entering information into the turn form you cannot choose a number of base kubbs if there are field kubbs in play and you cannot select more base or field kubbs than are currently in play for either. The application is now keeping track of all field and base kubbs for each team.