[REQUEST] Squash App

Hi,

I thought about writing a Squash-App by myself.
But I expect, it would be an easy thing to adopt the Tennis Score Tracker.
In my opinion there were only a few changes with the point counter...
http://en.wikipedia.org/wiki/Squash_%28sport%29

Off course, the greatest thing would be, to release the Tennis-App as a sample within the SDK.
So everyone would be able to create his own Badminton/Squash/Tabletennis/AndSoOn-Application.

Have a nice easter!
Thomas
  • There was no reply at all, so I begun on my own.
    Until now, I got a nice working solution within the simulator.
    On my Vivoavtive it´s producing some error. But I hope, I will get rid of that and publish that application soon.

    You can record it:


    And it counts the won matches and the won sets within the current match.
  • Former Member
    Former Member
    Oh, I've only just seen this. I'm always losing track of scores during my squash games. Look forward to your release so I can try it out :)
  • @HerrRiebmann I didn't mean to ignore you--generally, I only read this forum periodically since my focus is on the main developer forum. :) My intent is primarily for developers to respond to these requests, but I try to keep an eye on the kinds of apps folks are interested in.

    I forwarded your squash app idea on to our app development team to see whether they can adapt the Tennis Score Keeper for squash. Seems like a reasonably simple thing to do. I'm not sure whether we intend to release our app code to the public or not, but we have discussed making some additional sample apps available via github for anyone to modify.

    Thanks for your suggestion!
  • I forwarded your squash app idea on to our app development team to see whether they can adapt the Tennis Score Keeper for squash. Seems like a reasonably simple thing to do. I'm not sure whether we intend to release our app code to the public or not, but we have discussed making some additional sample apps available via github for anyone to modify.


    Thank you for your response, Brandon!
    Currently I am 95% ready with my own Squash App. Everything works except storing the Activity during a correct quit-process. This is only an optional feature to count your Steps during the match... Probably I will always abort the Activity at the end, because until now, there is no nice way to display your results in Connect (the Type Squash is unknown, off course).

    The last missing 5% are only closing the application correctly, as I mentioned here. The Simulator always works flawlessly, but the VA closes the App, but leaves some resources active, I suppose...

    This is how it looks like now.



    You are able to select the side and who is serving (Swipe left<>right and longpress). Also there is a possibility to setup to win a match after two or three won sets. A set is won after 9 (only served points count), 11 or 15 points.
  • I'm liking this a lot and liking that a set is won after 9 (only served points count) as this is the system I stuck with lol.

    I like the idea of the scores etc going up to Garmin Connect. I wish squash was a sports category on GC too......
  • I stopped developing in MonkeyC, so you can use my code if you´d like to.
    I provided it on GitHub.

    Feel free to reuse the code or cry about my bad MonkeyC skills ;)
    Edit: Updated the SDK to the latest Version. Makes everything worse :rolleyes:
    So don´t expect to make it run at the first try :D
  • jayegan2!!! What have you done? :p
    I´d just wanted to upload the code and now I found myself upgrading it to Connect IQ SDK 1.2.9 and it seems to work fine in the Emulator!
    Forgot my craddle today, so I will give it a try on the Vivoactive, when I´m at home.

    The VA still got SDK 1.2.6, so it won´t work and I have to downgrade the code, I guess :(
  • The VA still got SDK 1.2.6, so it won´t work and I have to downgrade the code, I guess :(


    You wont have to do anything special as micro releases of the SDK have no impact on the generated .prg in most cases (they may just be bug fixes to the plugin, the simulator, or to add a new devices - 1.2.9's only change was to add the D2 Bravo T for example). I think all devices right now have a max of a 1.2.6 VM. VMs are only updated with FW updates, and often follow SDK versions by quite some time.
  • Yes, you are right! It´s working.

    Poorly, exactly like before. After recording, the App does not quit properly and you cannot proceed. But that was what I was expecting, in the end it was me who messed it up :cool: