Golf Scorecard: 1st version submitted.

Former Member
Former Member
I have just submitted my very first release of a simple Golf scorecard app.

(I'd like to post a screenshot here but the image upload widget doesn't work for me)

A simple Golf app that counts your strokes per hole and, if manually started, records the distance, duration and track of your round.
Instructions:

(1) The App will crash on the very first instance. Don't worry. Retry. Just as in Golf: your next swing will be just fine!

(2) The main screen shows the current hole, the strokes on this hole, and, in smaller print, the total score (no stableford, no Hcp, no nothing, only plain strokes) and the time.

(3) To add a stroke press the up button. To delete a stroke press the down button.

(4) Press the "Start/Enter" button to show your score card: the "out" 9 holes in the first row, the "in" holes in the second row. The current hole is marked by a "V". Please note that for convenience the app advances one hole when you invoke the scorecard. You can just click "Start/Enter" a second time to return to the stroke keeping main screen for the next hole. If you want to stay in the current hole or navigate to any other hole, use the up and down buttons. Use "Start/Enter" when done.

Remember: clicking "Start/Enter" twice advances one hole and returns to the main screen. Convenient, isn't it?

(5) If you want to record your activity and create a FIT file that will be uploaded automatically to your Garmin Connect Account, press the "Menu" button (that is the "up" button, but pressed for a while). Use the up/down buttons to navigate the menu. Select "Start Round". CAUTION: this will reset the current scorecard! So if you want to record your round, activate recording before you start your round. Once done, invoke the menu again and select "End round". This will stop recording and finalize the FIT file for upload. You

There are currently no confirmation dialogs such as "are you sure you want to do this?". So be prepared to take the responsibility of any button you press.

The App runs on a fenx 3 only. I bet there will be bugs. Please remember: this is the very first release! Hcp 54 in Golf language.
  • Former Member
    Former Member over 9 years ago
    You might take a look at the Disc-Golf-IQ sample that was recently posted. Using a partner app to store saved courses and send the green locations to the watch at the start of the round would probably work pretty well.

    With a bit of additional interface, you could probably save a handful of courses in the object store before without running out of app space without using a companion app.



    Thanks, Brian. In principle a good suggestion, and I agree that it would be most convenient to have a companion app on the smartphone that holds a library of golf courses and can send the selected one to the App. However, I would want to see support for iOS and Android, and I am not a developer. I am just a hobby golfer who has some fun monkeying around with monkey C, and I needed a Golf app for myself.

    For the companion Apps for both smartphone platforms, I would need help or team up with someone, agree on a communication interface and a test plan.
  • Former Member
    Former Member over 9 years ago
    Yes that's right. I'm not sure how I can terminate the app by source code. I am reluctant to call the "onStop()" method directly, because it is an event handler, reacting on an event that comes from the system (or user). What the menu item currently does is it sets a flag such that the "Esc/back" button is enabled again. But the user still has to push that button to quit. I'd like to change that, but I need to understand how.


    To terminate your app, you just need to remove all your active views from the view stack. If you have one main view with a menu pushed on top of it, you would just need to add a call to Ui.popView() to the delegate that handles that menu option (the menu itself will still be popped automatically). If there is more than one view under the menu, you would add a call to popView() for each one.
  • Former Member
    Former Member over 9 years ago
    To terminate your app, you just need to remove all your active views from the view stack. If you have one main view with a menu pushed on top of it, you would just need to add a call to Ui.popView() to the delegate that handles that menu option (the menu itself will still be popped automatically). If there is more than one view under the menu, you would add a call to popView() for each one.


    Sounds easy enough! Will try tomorrow. Your help is again very useful. Thanks a lot Brian!
  • Former Member
    Former Member over 9 years ago
    New version for the weekend

    I am currently preparing a new upgraded version for the weekend. Will try to post it to the store tomorrow.

    Main features:

    1) If (and only if) we are recording a round, a press on ESC/back marks the "moment" when we are on the green. All additional strokes on that hole are considered to be putts. They will be saved and displayed per hole. No possibility to correct that, though. The usual procedure during the round would be: Press "up" for each stroke. Press "esc" once you are on the green, but before the first put. Press "up" for each put. Press "Start" to proceed to the next hole (and this will automatically take you off any green, strokes are considered normal strokes until reaching the next green).
    Putts will also be shown on the scorecard view.

    2) The user can now hide the button help (these green semi-circles next to the buttons with +,-.# on it) by a menu command. At the same time, this will hide the white digital time, and will activate an analogue clock with dark red "hands" running around and behind the main screen. Look at the "Perimeter" watchface to get an idea.
    The screen looks much cleaner then, and the removed digital time frees up space for... we'll see.

    Stay tuned.
  • Many thanks. Yes... recording the put with easy/practical way like you did on f3 is a great ideas. Currently for each hole, frankly, I don't remember how many puts I did (!!!), so... after each game and reviewing my score, I've just "guess" how many puts I did only (no ideas as there are lots 18 holes).

    I'll download and try next time.

    Once again, thank you very much for bringing us this great app.
  • Former Member
    Former Member over 9 years ago
    Version 1.3 uploaded to the store.

    New features:

    1) Putts can be tracked per hole. Press the ESC button as soon as you reach the green. All subsequent strokes on that hole will be counted as putts. A small filled green circle indicates when you are on the green (filled) or not (open). Once you proceed to the next hole, the status is rest automatically to be off the green.

    2) App can be terminated (only) by a corresponding menu command. Should terminate the app right away (status and fit file will be stored).

    3) The button help (the green half-circles next to the buttons) can be hidden by a menu command. If hidden, a dark red hour and minute hand show the time like on an analog watch face.

    The version has been tested on the simulator and very shortly on my F3, but not yet on a full golf round.

    Please let me know what you think.

    One remark: I sometimes hit the start and the ESC button accidentally when I perform a golf stroke (the wrist and glove apparently press a button). Therefore, I would have preferred to just ignore ESC button presses, and use the "Light" key to indicate whether or not we are on the green. This works beautifully on the simulator, but unfortunately not on the device. Garmin seems to intend to fix this on the simulator rather than allowing the device to use the "light" button for a different purpose. This is a pity. Future versions of the SDK might support button hold events (similar like the menu is invoked by holding the "up" button". If so, I will probably move the green marker from the ESC to the "down" button. We'll see...
  • Former Member
    Former Member over 9 years ago
    There was a small bug in version 1.3 which lead to a crash when the scorecard view would be invoked (by a press on the start button). I hope this is fixed now in version 1.3.3, which I uploaded to the store. (but I need to test this first on the golf course before I can be sure).
  • Former Member
    Former Member over 9 years ago
    There was a small bug in version 1.3 which lead to a crash when the scorecard view would be invoked (by a press on the start button). I hope this is fixed now in version 1.3.3, which I uploaded to the store. (but I need to test this first on the golf course before I can be sure).


    Unfortunately, as my own test on a round revealed, the bug was not fixed in 1.3.2 and 1.3.3. It occurred only when the activity was recorded and when the scorecard view was invoked. Th ecrash was related to the attempt to draw a little red circle that indicates an active recording, and the variable "radius" of that circle was not declared...

    It should now be fixed in 1.3.4 (already uploaded to the store). I'd like to say sorry to everyone who ran into this problem, and hope that it is fixed now.
  • I've installed v1.3.3, but not tested yet. I've now installed v1.3.4. Tomorrow I will have a real round of golf and will test v1.3.4.

    Many thanks.
    Q
  • I've installed v1.3.3, but not tested yet. I've now installed v1.3.4. Tomorrow I will have a real round of golf and will test v1.3.4.

    Many thanks.
    Q


    I've just completed a real golf round with v1.3.4. It works perfectly. Having ability to record the putts with a simple button press is an excellent idea.

    One more thing to note:
    - The summary of the actual recorded golf activity says I spent 494 Calories for the whole 18 hole round in about 4 hours (and 10.65km walk).
    - However if I manually create a golf activity in Garmin connect with 4 hours of playing, then it will calculate that I would spend about 1200 calories.
    - So... I don't know which one is correct.

    Once again, many thanks for bringing us an excellent golf scoring app.

    Regards,
    Q

    Ps. If it can mark the sub-activity for each hole (similar to multi-sport activities) and mark the lap for each stroke, then all I can say is... PERFECT!!!

    Also... I am planning to add Garmin Epix to my gadget collection so... later porting to Epix is greatly welcome :-)