RacketsHQ - String Jobs Records and Statistics (Android)

Discussion in 'Badminton Stringing Techniques & Tools' started by xZhongCheng, Jun 4, 2016.

?

Android or iOS User?

  1. Android

    26 vote(s)
    70.3%
  2. iOS

    11 vote(s)
    29.7%
  1. krysser

    krysser Regular Member

    Joined:
    Aug 11, 2010
    Messages:
    88
    Likes Received:
    11
    Location:
    @Home
    What does the app expect in the QR code ??
    I have tried some with just my name in it, and the app crashes.
     
  2. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    Is the prestretch value under Adding or Editing String Jobs?

    It Seems to work fine for me.
     
  3. krysser

    krysser Regular Member

    Joined:
    Aug 11, 2010
    Messages:
    88
    Likes Received:
    11
    Location:
    @Home
    actually both places, it seems I can add a 0, but no other number
     
  4. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Am also seeing issues on latest release, however that is with entering values for tension, in both fields...
    Am able to enter prestretch-values thou...
    If saving the record, the app crashes, and keeps crashing until I delete the StringJobs.xml...



    Sendt fra min SM-G903F med Tapatalk
     
  5. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    Create a barcode based off a existing string job that you have entered in manually.

    If you select a existing string job, theres a button you can press on the edit string job dialog that will create a QR Code for you

    Ill take a further look into it today

    The StringJobs.XML file might not contain some new fields i updated. Interestingly it should auto populate with the new stuff...

    What versions of Android are you guys running? I am running 6.0, but it shouldnt make much of a difference.
     
    #45 xZhongCheng, Jun 13, 2016
    Last edited: Jun 13, 2016
  6. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Running on Android 5.1.1.

    Did play a bit with the faulty xml-file.
    I did notice, that the saved job didn't had a value in "cost" (cost=""), as I didn't added a value before saving, when setting the tension was failing.
    Manually added "0" (zero), saved it, and again the app was able to read the file and start with no errors.
    (The xml did had the added freq-fields, even that the app doesn't yet have the corresponding entry-field, so I guess it is not the cause for this issue)

    As for the ability to enter tension, I do suspect that it might be the decimal-separator. In my region, we use comma, not period, as decimal... (just a suspicion )
    Maybe you have made some limited values for those fields, that is being played as the separator doesn't match?

    Sendt fra min SM-G903F med Tapatalk
     
    #46 MikaelK, Jun 13, 2016
    Last edited: Jun 13, 2016
  7. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    Found out why it crashed. Since cost is not set... It cant be calulated in the statistics view.

    I updated it and it SHOULD fix this problem. (Default value for Cost field will be $ 0.00)

    The way I had set it up is the following:

    The Tension Fields and Cost are all not related other others.

    I did have some autofill functionality IF a existing client and racket exists in the database.

    So if I had a string job with:

    First Name: Jack
    Last Name: Chang
    Racket Brand: Yonex
    Racket Line: Arc Saber
    Racket Model: Z-Slash
    Seriel No. : 123456
    String Brand: Yonex
    String Model: BG66UM

    Once you complete the last field (String model), it will auto fill the rest in with the most recent job.

    For the Tensions, prestretch and cost, I have limted the input to numbers only. Tension allows for 1 decimal input, while presretch is just whole %.

    Possibly because you use comma instead of a . might mess it up... I will have to investigate.

    Now if you guys do not want auto formatting in these fields I can add a option to remove them
     
    #47 xZhongCheng, Jun 13, 2016
    Last edited: Jun 13, 2016
  8. decoy

    decoy Regular Member

    Joined:
    Jul 29, 2009
    Messages:
    976
    Likes Received:
    166
    Location:
    Toronto
    This is a weird nitpicky thing. But on the menu bar on the left that has the different categories, the "exit app" listing has an arrow beside it that looks like it would drop down if you click it. I'm not sure how you designed your menu so I don't know how easy that would be to take.
    All in all though, it's a sweet app!

    Sent from my LG-D852 using Tapatalk
     
  9. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    Yea... I kinda left that because I was new to using the ExpandableListView and had troubles creating an adapter. Took me a while to even get it running haha.

    The new update will fix the little arrow thing on exit =)

    I added a string color field and I reworked the entire settings and preferences menu. If you guys have the Options.xml in the folder, feel free to delete it as its not needed anymore.

    The Tension, Prestretch, and Cost input fields SHOULD work as its intended to...
     
    MikaelK likes this.
  10. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Have updated and tested.
    Unfortunately I am still not able to type any values in tension and cost-fields.
    Must be a comma/period issue.

    Sendt fra min SM-G903F med Tapatalk
     
  11. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    That is really odd...

    Are you pressing the comma as you type in the numbers?

    You shouldnt have to as the period is a place holder.

    If you want to put 27.5 for a tension, you just type 275. same idea with the cost fields.

    Edit:

    Nvm, i changed the langauge and keyboard to danish on my phone and it does not work.

    I will update it today.

    Edit #2:

    Good News!

    I have figured it out. The issue has been resolved and I will be uploading the update quite soon.

    Interestingly.. it tried to insert a comma automatically when i was using the danish keyboard... but my regex didnt allow commas. Issue solved though =)
     
    #51 xZhongCheng, Jun 14, 2016
    Last edited: Jun 14, 2016
    MikaelK likes this.
  12. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Excellent commitment and service...!
    Keep up the good work.

    Looking forward to the update

    Sendt fra min SM-G903F med Tapatalk
     
  13. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    Of course!!

    Lately I got a lot of free time on my hands. Im glad I am being productive and I am happy to see people are using it.
     
  14. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Hmmmm. .. not quite sure here..

    But with the latest update, Racketshq seems to consistently crash on start.
    Tried deleting the old xml-file, if that was messed up, but app is still crashing.
    It does get past the point where it creates a new empty xml, but dies immediately after that.

    Sendt fra min SM-G903F med Tapatalk
     
  15. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    Thats very odd... I installed the store version of i uploaded and it dies when I open it... Ill upload a new update in a bit.

    Edit: @MikaelK I have update the application again. I hope there are no more crashes.
     
    #55 xZhongCheng, Jun 15, 2016
    Last edited: Jun 15, 2016
  16. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Have updated to latest, and it does indeed run with stability now
    Good job!

    Been playing around with it, and have thought of some additional suggestions:

    For tension, consider to always store the value in lbs in the db. Then add a calculation to show the value in the unit based on users selected preference.
    This will allow user to enter in kg for one job, then later switch reference to lbs, and still get the correct value shown for the previous jobs.
    As of today, the preference is only to select what unit-denominator to put after the value....
    Another thought regarding this...: maybe add a unit-selector on-screen (dropdown type?), to let user type the value directly in the unit he chooses..
    I have some clients requesting tension in kg and some requesting in lbs. With this feature, I don't have to do the math in my head converting between the two...

    Maybe add some kind of dropdown-selector for racket-brand/line/model and same for string-fields.
    Maybe pre-filled with values based on previous typed info..
    This will allow me to not have to type like "Yonex" "Nanoray" in full each time..


    Sendt fra min SM-G903F med Tapatalk
     
    #56 MikaelK, Jun 16, 2016
    Last edited: Jun 16, 2016
  17. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    I am glad its stable! =)

    I was thinking of implementing the unit changes, but I wasnt sure that in 1 region some people would request kg and others lb.

    Every field in Adding a StringJob will have auto complete once you have entered in the client information once. It is based on the client.

    So if I have one guy that has a Victor JetSpeed S10, it will give autocomplete suggestions when you enter in the for the same client. Originally I had the fields have suggestions based on whatever was entered, but i found the data to be too messy.

    I will remodify the autocomplete logic and see if that suits the needs of you guys more.

    As for the tension, thats a good idea. I will store it as pounds, and have it calculate if you guys want to change. There will be no changes to the XML file.

    Thanks for the feedback.
     
  18. MikaelK

    MikaelK Regular Member

    Joined:
    Jan 30, 2014
    Messages:
    41
    Likes Received:
    6
    Occupation:
    IT Network engineer
    Location:
    Denmark, Jutland
    Oops... :)
    I hadn't discovered the feature of the auto-complete.. Hadn't added multiple jobs for same client-name.
    Nicely done..!
    Not sure you even need to redesign that part.

    One note though: the auto-complete didn't seem to recall the previous values entered for strings..?
    At least, it did not show me suggestion for string-brand, even that all previously entered data was the same as another job..
    If/when looking at it, consider to let all previous entered strings (across all job-record, also from other clients) be visible...

    Just for a note, the app really begins to shine now ;)
    Keep it up..!

    And do remember, I am just tossing ideas.. no "demands".
    The app is really an asset as it is already..
     
  19. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA

    When it comes to designing applications I am as OCD as I am with stringing haha.

    Yea all the fields are client specific. I can change the strings to be database wide instead of restricting it to just clients.
     
  20. xZhongCheng

    xZhongCheng Regular Member

    Joined:
    Jan 25, 2009
    Messages:
    498
    Likes Received:
    168
    Occupation:
    Systems Analyst
    Location:
    CA
    I got a question for everyone using this:

    Does your phone have a navigation bar? (Back Home and Menu buttons on screen)

    If it does, would you like it to be hidden while using the application?
     

Share This Page